Hi Dorian,

I don't know if satisfies your necessity.. but I think you can do your own
"reload" script calling your code to flush the cache and then reload with it

import uwsgi
uwsgi.reload()

Maybe someone with more experience can confirm this.




On Mon, Sep 1, 2014 at 9:33 AM, Dorian Hoxha <[email protected]> wrote:

> Hi list,
>
> Basically I'm designing a python app that will need to do many
> writes/second.
>
> And I cache rows in in-app-dictionary and write to the db every 100
> requests.
>
> Does it make senses/possible with graceful reloading to execute a function
> on the python-process and wait for it's return before closing it ?
>
> Thanks
>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
>


-- 
Jeancarlo M. Finck
Zend Certified Engineer (Zend Yellow Page
<http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND020555>)

Google Talk: [email protected]
Skype: jeanfinck
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to