File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Adding a task to a queue is simple.
2323``` python
2424from eb_sqs.decorators import task
2525
26- @task (queue = ' test' )
26+ @task (queue_name = ' test' )
2727def echo (message ):
2828 print message
2929
@@ -54,7 +54,7 @@ Failed tasks can be retried by using the `retry` method. See the following examp
5454``` python
5555from eb_sqs.decorators import task
5656
57- @task (queue = ' test' , max_retries = 5 )
57+ @task (queue_name = ' test' , max_retries = 5 )
5858def upload_file (message ):
5959 print ' # of retries: {} ' .format(upload_file.retry_num)
6060 try :
@@ -110,7 +110,7 @@ Example callback which is executed when all three tasks are finished:
110110``` python
111111from eb_sqs.decorators import task
112112
113- @task (queue = ' test' , max_retries = 5 )
113+ @task (queue_name = ' test' , max_retries = 5 )
114114def group_finished (group_id ):
115115 pass
116116```
You can’t perform that action at this time.
0 commit comments