vrish88/sinatra_cyclist — pull request #6 by kevintuhumury (2013-09-10 13:56:39+00:00)
Title: Added the ability to set the cycle duration from your config.ru configuration block

The default is still 3 seconds. Whenever the `duration` parameter is set, it will be saved to the session and it will be used as the cycle duration.

If you would like the default to be 30 seconds, you can override this behavior by specifying the following in your Dashing config.ru:

```ruby
configure do
set :auth_token, 'YOUR_AUTH_TOKEN'
set :routes_to_cycle_through, [:dashboard_1, :dashboard_2, :dashboard_3]
set :cycle_duration, 30
...
```

You'll still be able to set the duration with the GET parameter. Once that's set, it will keep that value during the session.