Opened 16 years ago

Closed 16 years ago

#783 closed Enhancement (fixed)

Add -sleep_interval to all server daemons

Reported by: Nicolas Owned by: davea
Priority: Minor Milestone: Undetermined
Component: Server - Other Version:
Keywords: patch transitioner file_deleter sleep_interval Cc:

Description

Currently, only the feeder, the validator and the assimilator have a -sleep_interval option. It would be useful to have the setting on all the daemons, at least for consistency. When I added it to config.xml, some daemons didn't even give an error that the option was invalid, and kept doing queries every five seconds.

The transitioner has two different hardcoded sleep intervals depending on #ifdef EINSTEIN_AT_HOME, so it's a sure thing that projects may want to customize this...

I added the option to the file_deleter and the transitioner. Patch attached.

Attachments (1)

sleep_interval.diff (2.8 KB) - added by Nicolas 16 years ago.

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by Nicolas

Attachment: sleep_interval.diff added

comment:1 Changed 16 years ago by davea

Resolution: fixed
Status: newclosed

(In [16576]) - server: add -sleep_interval args to file_deleter and transitioner

(from Nicolas; fixes #783)

Note: See TracTickets for help on using tickets.