----- Oryginalna wiadomość ----- > Od: "Roberto De Ioris" <[email protected]> > Do: "uWSGI developers and users list" <[email protected]> > Wysłane: wtorek, 29 listopad 2011 7:54:16 > Temat: Re: [uWSGI] config in .ini > > Pretty challenging, maybe it is best to put this logic in the vassals > to reuse in other areas too. > > I mean: > > - emperor sees the touch in the vassal's config file > - as emperor has been set in "smart" mode, it sends the > "smart-reload" > message to the vassal (instead of the normal "reload") > - the vassal's master receives the "smart-reload" request > - the vassal's reopen the configfile and creates a new > exported_options > list (the internal structure used by uWSGI) > - the vassal compares the two list and if they are different it goes > on > with the reload. Otherwise it ignores the request. > > The same could be applied for normal reloads without emperor and > without > changing too much code. >
It promises to be pretty well ;] -- Łukasz Wróblewski http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe http://www.hostowisko.pl/ - Profesjonalny i tani hosting http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
