I am using Rails 4 and ruby 2.3.6 version, for async operations I am using Sidekiq with more than 20 workers. All the workers and execution is fine but I am facing one issue
Server log time print same time as given below as well as inside the worker Time.now is same until next restart of Sidekiq. This is not happening immediately after restarting, its happening only after certain time.
<li>2020-09-19T06:03:04.767Z 13158 TID-gpklhr248 JID-38ad368a3a7fffa7dbf7dbf4 INFO: start</li><li>2020-09-19T06:03:04.767Z 13158 TID-gpklhr248 JID-38ad368a3a7fffa7dbf7dbf4 INFO: Reindexing</li><li>2020-09-19T06:03:04.767Z 13158 TID-gpkkcze94 JID-2b46bbc3166b071665347a6e INFO: start</li><li>2020-09-19T06:03:04.767Z 13158 TID-gpkkcze94 JID-2b46bbc3166b071665347a6e INFO: Reindexing</li><li>2020-09-19T06:03:04.767Z 13158 TID-ow43zcfxc JID-292f879ecf144b891fcc8e0f INFO: start</li><li>2020-09-19T06:03:04.767Z 13158 TID-ow43zcfxc JID-292f879ecf144b891fcc8e0f INFO: Reindexing </li><li>2020-09-19T06:03:04.767Z 13158 TID-ow3jkr75s JID-3b6c508deb891afdd8718e29 INFO: done: 0.0 sec</li><li>2020-09-19T06:03:04.767Z 13158 TID-gpkkcze94 JID-2b46bbc3166b071665347a6e INFO: done: 0.0 sec</li><li>2020-09-19T06:03:04.767Z 13158 TID-gpklhr248 JID-38ad368a3a7fffa7dbf7dbf4 INFO: done: 0.0 sec</li><li>2020-09-19T06:03:04.767Z 13158 TID-ow43zcfxc JID-292f879ecf144b891fcc8e0f INFO: done: 0.0 sec</li>
Above log is not happening in same millisecond it was in min difference for each job to start and complete.
Anyone faced this kind of issue? Please help me to resolve this issue.