mosquito
mosquito copied to clipboard
A background task runner for crystal applications supporting periodic (CRON) and manually queued jobs
Just upgraded to the latest Mosquito and after deploying, my workers all break with this error ``` Unhandled exception in spawn: ERR unknown command `lmove`, with args beginning with: `mosquito:waiting:event_save_worker`,...
``` Unhandled exception in spawn(name: mosquito.runners.queue_list.4351311088): Hostname lookup for fly-podb-redis.upstash.io failed: No address found (Socket::Addrinfo::Error) from /Users/robert/.asdf/installs/crystal/1.11.2/src/socket/addrinfo.cr:132:7 in 'initialize' from /Users/robert/.asdf/installs/crystal/1.11.2/src/socket/tcp_socket.cr:29:3 in 'initialize' from /Users/robert/.asdf/installs/crystal/1.11.2/src/socket/tcp_socket.cr:29:3 in 'new' from lib/redis/src/connection.cr:30:7 in...
`Mosquito::VERSION` returns `1.0.2`. `shards.yml` contains `version: 1.0.2` as well. It's not critical, but worth noting nonetheless. Crystal version: 1.12.2 Mosquito Shard version: 2.0.0
Often, especially in development, I'm having to fiddle with the periodic interval just to get the job to run _more frequently_. I wonder if there should be a method to...
Archive.fm has an endless source of work. Right now I have it tracking a periodic job which enqueues other jobs, and it checks to see how many enqueued jobs exist...