forked from github/server
remove queue after we are done with it
This commit is contained in:
parent
a87e9b6c5c
commit
119e9dbecc
|
@ -5,3 +5,4 @@ cd $(dirname $SCRIPT)
|
|||
lockfile -r3 -l120 orders.queue.lock
|
||||
python accept-orders.py "$@"
|
||||
rm -f orders.queue.lock
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@ for line in lines:
|
|||
tmpfile.close()
|
||||
|
||||
openlog("orders")
|
||||
unlink(queue_file)
|
||||
|
||||
for line in lines:
|
||||
tokens = split(line[:-1], ' ')
|
||||
|
|
Loading…
Reference in New Issue