mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
python
This commit is contained in:
@@ -77,7 +77,7 @@ Here, we'll process our data in the background, while responding immediately to
|
||||
|
||||
@api.background.task
|
||||
def process_data(data):
|
||||
# Just sleep for three seconds, as a demo.
|
||||
"""Just sleeps for three seconds, as a demo."""
|
||||
time.sleep(3)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user