shaonaghosh / soylent

Automatically exported from code.google.com/p/soylent
0 stars 0 forks source link

Auto increment job number when jobs already exist in active-hits directory #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1.Delete all files in the active-hits directory.
2.Run HITView.xaml -> a new document opens up.
3.Type in text, select and start a Shortn job. Click on the cancel button.
Result: expected behavior.
4. Close the document. Repeat Steps 2 & 3 (typing in new text).
Result: the cancel does not execute.
Also notice in the active-hits directory, there is only *one* file 
(shortn.1.data.js) containing the new text.

What is the expected output? What do you see instead?
Expected output: shortn.2.data.js containing new text.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by kavya...@gmail.com on 11 Nov 2010 at 7:29

GoogleCodeExporter commented 8 years ago
First patch for this in 0350beb548. The program looks through all the files in 
the active-hits directory on startup and sets the next job number to be one 
larger. Let's monitor.

Original comment by esperte...@gmail.com on 17 Nov 2010 at 3:23