> Polling around a 1s sleep loop. That's a gross hack that's 0.1s
On Tue, Jan 12, 2016 at 5:15 PM, Reindl Harald <h.rei...@thelounge.net> wrote: > > > Am 12.01.2016 um 16:09 schrieb Lennart Poettering: > >> On Tue, 12.01.16 15:57, Reindl Harald (h.rei...@thelounge.net) wrote: >> >> >>> Am 12.01.2016 um 15:45 schrieb Lennart Poettering: >>> >>>> On Tue, 12.01.16 10:22, Muayyad AlSadi (als...@gmail.com) wrote: >>>> >>>> >>>>> @Lennart Poettering is there a way to use something like >>>>> "ExecStartPost=" >>>>> do the the notify with type=simple? >>>>> >>>> >>>> When would you even call that? Somehow your Java app needs to report >>>> when it finished setting up its listening socket. You cannot script >>>> around that fact >>>> >>> >>> at the same point as for mariadb / mysql >>> >> >> ... >> >>> usleep 100000 >>> >> ... >> >> Polling around a 1s sleep loop. That's a gross hack >> > > besides that 100000 us are hardly a second (the fedora build afaik is > using a sleep 1) it works the last 5 years perfectly and "You cannot script > around that fact" is wrong if you like it or not > > > > > -- > devel mailing list > devel@lists.fedoraproject.org > http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org >
-- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org