Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to configure a delay between octo_parser starts #558

Closed
sebthebert opened this issue Dec 11, 2013 · 1 comment
Closed

Ability to configure a delay between octo_parser starts #558

sebthebert opened this issue Dec 11, 2013 · 1 comment

Comments

@sebthebert
Copy link
Collaborator

Ability to configure a delay between octo_parser starts

When you have a lot of devices, starting all at the same time is not really good.

We need a parameter to specify a delay D between N devices...

@ghost ghost assigned sebthebert Dec 11, 2013
@sebthebert
Copy link
Collaborator Author

Two new parameters in /etc/aat/aat.xml:

    <parameter name="octo_parser_delay_devices" value="5" />
    <parameter name="octo_parser_delay_seconds" value="5" />

to configure the delay in seconds (octo_parser_delay_seconds) between N devices (octo_parser_delay_devices) during octopussy parser-start.

Sample:

# /usr/sbin/octopussy parser-start
octopussy Parsing 'device1' Started.
octopussy Parsing 'device2' Started.
octopussy Parsing 'device3' Started.
octopussy Parsing 'device4' Started.
octopussy Parsing 'device5' Started.
Waits 5 seconds every 5 devices...
octopussy Parsing 'device6' Started.
octopussy Parsing 'octo-devel' Started.
octopussy Parsing 'octobench' Started.
# 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant