I believe Phanx mentioned at the start of the thread that there is no API to derive the timeout for LFR/LFD. You can surely adapt the code you borrowed from SafeQueue to use the 40 second time-frame (also mentioned by Phanx) instead of a time returned by a function call.
|