mirror of https://github.com/rq/rq.git
9 lines
140 B
Python
9 lines
140 B
Python
|
from rq import job
|
||
|
|
||
|
@job('default')
|
||
|
def slow_fib(n):
|
||
|
if n <= 1:
|
||
|
return 1
|
||
|
else:
|
||
|
return slow_fib(n-1) + slow_fib(n-2)
|