Message received to Archiving so late in openfire


I have implemented the openfire in my VPS server.It is working fine with sending-receiving messages.

But when i go to

Admin panel >> Server >> Archiving >> Search Archiving

I search some date records , that show me that “The messages in this conversation were not archived.”.

It chat comes later after some time (e.g 10-15 minutes later)

beacuase my custom database operations are based on archive data , If i get late messages in archive ,it is trouble to my users,that they recevice caht messages after 10-15 minutes later.

So is there any way to make archive transaction so quicker that as we send message and within frequent of seconds come to taht archive listing.

I have attached the screenshot for that.

Thank You In Advance