mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-03 15:40:32 +00:00
msuck: pad pids to 5 decimals
This commit is contained in:
parent
bde965dffb
commit
3207b0a6ba
@ -13,7 +13,7 @@ HOST = Socket.gethostname
|
||||
def genname(id)
|
||||
$delivery += 1
|
||||
t = Time.now
|
||||
"%d.M%06dP%dQ%d.%s,N=%d" % [t.tv_sec, t.tv_usec, $$, $delivery, HOST, id]
|
||||
"%d.M%06dP%05dQ%d.%s,N=%d" % [t.tv_sec, t.tv_usec, $$, $delivery, HOST, id]
|
||||
end
|
||||
|
||||
params = ARGV.getopts("d:fl:s:L")
|
||||
|
Loading…
Reference in New Issue
Block a user