What is an alternative?  Clearly timers are not working for me in uwsgi
using the gevent loop.  I need to load every 60 secs and it is not
happening.


On Fri, Nov 23, 2012 at 4:59 AM, Łukasz Mierzwa <[email protected]> wrote:

> No, but I had one issue with timer, when --idle stopped all workers timer
> also stopped working. But it's not the case since You don't use --idle.
>
>
> 2012/11/22 David Montgomery <[email protected]>
>
>> Does that have to be set?  --idle is not set
>>
>>
>>
>> On Fri, Nov 23, 2012 at 4:41 AM, Łukasz Mierzwa <[email protected]>wrote:
>>
>>> Do You have --idle option set?
>>>
>>>
>>> 2012/11/22 David Montgomery <[email protected]>
>>>
>>>> Hi,
>>>> I am using the lastest lts.
>>>>
>>>> My timer use to work.......now...no.
>>>>
>>>> try:
>>>>     from uwsgidecorators import *
>>>>     @timer(60)
>>>>     def load_redis(signum):
>>>>         loadRedisDict()
>>>> except ImportError:
>>>>     error =  str(sys.exc_info())
>>>>
>>>>
>>>> What am i doing wrong?  I am monitoring the log....the timer is not
>>>> working.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> uWSGI mailing list
>>>> [email protected]
>>>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>>>>
>>>>
>>>
>>>
>>> --
>>> Łukasz Mierzwa
>>>
>>> _______________________________________________
>>> uWSGI mailing list
>>> [email protected]
>>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>>>
>>>
>>
>> _______________________________________________
>> uWSGI mailing list
>> [email protected]
>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>>
>>
>
>
> --
> Łukasz Mierzwa
>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to