vrish88 / sinatra_cyclist

Cycle through Sinatra routes at a regular duration.
MIT License
94 stars 18 forks source link

Should be able to set a default duration in config.ru #1

Closed barnaclebarnes closed 10 years ago

barnaclebarnes commented 11 years ago

it would be good if you could set the duration for the cycle on the config.ru file instead of having to put this in the url.

vrish88 commented 11 years ago

Good suggestion. Would the param on url still be useful if this were in place?

barnaclebarnes commented 11 years ago

Yes I think it would still be useful as an override. You could also have per dashboard durations possibly. [ dash1: 30, dash2: 60]. Not sure ow easy this would be but may be something that is useful when you have dashboards that you want to show for longer.

kevintuhumury commented 11 years ago

This has be fixed in: https://github.com/vrish88/sinatra_cyclist/pull/6