----- Oryginalna wiadomość ----- > Od: "Roberto De Ioris" <[email protected]> > Do: "uWSGI developers and users list" <[email protected]> > Wysłane: piątek, 17 czerwiec 2011 19:44:30 > Temat: Re: [uWSGI] spooler > > I have already a request from a customer about this, but the proposal > is > much more easy to implement: > > /spooldir > /spooldir/1 > /spooldir/1/XXXXXXXXXXXXXX > /spooldir/2/YYYYYYYYYYYYYY > > pratically each priority will create a directory that will be > processed in > order. Tasks in the '1' directory will be processed before task in > '2' and > so on.
Subdirectory is even better ... at the long queue, but the point is the same. I am in favor. > (theoretically readdir() should returns file in the order they > get > created, but it seems to me that is not the case for you) Theoretically - yes. Unfortunately it is not always so ... > > It will be the first thing to implement after 0.9.8.1 release (i > suppose > on sunday) > :] If it is something in this matter corrected, I'll make a series of tests to assess whether the tasks are executed in order of their creation. Of course the priority is more important. -- Ł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
