0001from waitforit.middleware import WaitForIt
0002
0003def make_filter(
0004 app,
0005 global_conf,
0006 time_limit='10',
0007 poll_time='10'):
0008 time_limit = float(time_limit)
0009 poll_time = float(poll_time)
0010 return WaitForIt(app, time_limit=time_limit,
0011 poll_time=poll_time)