Subject: | a wait feature... and pull request |
Date: | Tue, 6 Nov 2018 16:32:32 -0500 |
To: | bug-Proc-Pidfile [...] rt.cpan.org |
From: | Michael Hamlin <pyrrhlin [...] gmail.com> |
howdy neil,
i needed a wait feature from Proc::Pidfile, and implemented it.
Multiple containers are sharing a volume mapped to parent filesystem (this
is a dev scenario). The main app in each container checks for and tries to
generate some required data in that sahred volume, resulting in a stampede.
All the processes require the data, so I don't want them to just skip it
(and then die, when they dont find the data), but rather wait for it.
please see:
https://github.com/neilb/Proc-Pidfile/pull/3
thank you,
michael