Message155106
| Author |
tasslehoff |
| Recipients |
tasslehoff |
| Date |
2012年03月07日.19:38:39 |
| SpamBayes Score |
7.506189e-10 |
| Marked as misclassified |
No |
| Message-id |
<1331149120.51.0.79082225225.issue14222@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Queue.get([block[, timeout]]) uses time.time() for calculations of the timeout. If someone changes the system time this breaks. If a timeout of 1 second is set and someone (on a unix system) uses date to set the time 1 hour back, Queue.get will use 1 hour and 1 second to time out.
I'm guessing the fix is just to use another library function to measure time, but I don't know if one exists that works on all platforms. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年03月07日 19:38:40 | tasslehoff | set | recipients:
+ tasslehoff |
| 2012年03月07日 19:38:40 | tasslehoff | set | messageid: <1331149120.51.0.79082225225.issue14222@psf.upfronthosting.co.za> |
| 2012年03月07日 19:38:39 | tasslehoff | link | issue14222 messages |
| 2012年03月07日 19:38:39 | tasslehoff | create |
|