-
-
Save ttstarck/cfc3b6e8d4066c3adf0f82dcc9d5e61a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import faktory | |
with faktory.connection() as client: | |
while True: | |
client.queue("add", args=(1, 2), queue="default") | |
client.queue("subtract", args=(10, 5), queue="default") | |
client.queue("multiply", args=(8, 8), queue="default") | |
time.sleep(0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment