chrisboulton / php-resque-scheduler

An addon for php-resque that lets you queue jobs for execution some time in the future. Follows resque-scheduler.
MIT License
271 stars 129 forks source link

Ability to set Credis_Client retry max #23

Closed solvire closed 10 years ago

solvire commented 10 years ago

On AWS the network is less than perfect. I'm planning on forking this and adding a way to increase the retry limit. We have our workers go down pretty often when amazon gets nasty.

I'll do a pull request in case anyone else has this issue. I'm going to set it up to pass in with environment variables. Hopefully I'm not duplicating work, but I didn't see any way to accomplish this from the CLI.

danhunsaker commented 10 years ago

Yeah, AWS is pretty crappy. No service is 100% reliable, but AWS is too far from it to really be useful, IMO. Still, use what you have.

It'll be good to have better failure tolerance, though it sounds like you'll want to do this in PHP-Resque itself, too. That's where the jobs are actually run, after all.

solvire commented 10 years ago

I should probably have started this issue on the PHP-Resque app instead. And since I might have questions related to that I'll kill this one and recreate it there.