Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65245 - mldonkey initscript has an unnecessary pause in stop()
Summary: mldonkey initscript has an unnecessary pause in stop()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jon Hood (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-24 14:56 UTC by Martin Bays
Modified: 2004-11-29 10:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to use a countdown rather than a sleep (mldonkey.initd.patch,557 bytes, patch)
2004-09-24 14:57 UTC, Martin Bays
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Bays 2004-09-24 14:56:42 UTC
Patch below.

Note that something similar may or may not be wanted instead of the 'sleep 5' in start(), depending on whether the aim of that is to simply see if mlnet comes up, or rather to wait for it to spawn subprocesses to be reniced.
Comment 1 Martin Bays 2004-09-24 14:57:31 UTC
Created attachment 40326 [details, diff]
Patch to use a countdown rather than a sleep
Comment 2 ra 2004-10-02 15:31:49 UTC
Patch reduces stopping time from 10 secs to usually less than 3. Thanks.
Comment 3 Jon Hood (RETIRED) gentoo-dev 2004-11-29 10:46:41 UTC
ooo, me likes!
Now in portage, thanks for the update :).