seems like under certain (unknown) circumstances the generated workerkey name is not unique because microtime() seems to return the same value for different workers.
This fix should at least reduce the chance of generating exactly the same workerkey.
Sometimes we get random SQL errors like this one when running the queue worker:
seems like under certain (unknown) circumstances the generated workerkey name is not unique because
microtime()
seems to return the same value for different workers.This fix should at least reduce the chance of generating exactly the same workerkey.