I'm adding many jobs into a queue (Pg backend) with something like this: https://gist.github.com/scottw/18a95ddaab44837e92526cdbc93d4275#file-inject
Each job has a delay that increments by 1s. My worker handles the jobs: https://gist.github.com/scottw/18a95ddaab44837e92526cdbc93d4275#file-worker but the jobs come in bursts every 5 seconds, as you can see in the timestamps in the output: https://gist.github.com/scottw/18a95ddaab44837e92526cdbc93d4275#file-output-log Can anyone recommend a better technique for ensuring jobs don't run before their timeāand run as close to their time as possible? Am I using 'delay' wrong? Scott -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
