{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/147","repository_url":"https://api.github.com/repos/influxdata/influxdb-ruby","labels_url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/147/comments","events_url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/147/events","html_url":"https://github.com/influxdata/influxdb-ruby/issues/147","id":158114415,"number":147,"title":"Async options","user":{"login":"dilnavazk","id":18299881,"avatar_url":"https://avatars.githubusercontent.com/u/18299881?v=3","gravatar_id":"","url":"https://api.github.com/users/dilnavazk","html_url":"https://github.com/dilnavazk","followers_url":"https://api.github.com/users/dilnavazk/followers","following_url":"https://api.github.com/users/dilnavazk/following{/other_user}","gists_url":"https://api.github.com/users/dilnavazk/gists{/gist_id}","starred_url":"https://api.github.com/users/dilnavazk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dilnavazk/subscriptions","organizations_url":"https://api.github.com/users/dilnavazk/orgs","repos_url":"https://api.github.com/users/dilnavazk/repos","events_url":"https://api.github.com/users/dilnavazk/events{/privacy}","received_events_url":"https://api.github.com/users/dilnavazk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-02T11:02:12Z","updated_at":"2016-06-02T11:24:08Z","closed_at":null,"body":"While using the library, how to increase the sleep time of workers? I tried using \r\n\r\n```\r\nInfluxDB::Client.new configuration.influxdb_database,\r\n          :username => configuration.influxdb_username,\r\n          :password => configuration.influxdb_password,\r\n          :hosts => configuration.influxdb_hosts,\r\n          :port => configuration.influxdb_port,\r\n          # :async => configuration.async,\r\n          :async => {# number of points to write to the server at once\r\n                      max_post_points:    1000,\r\n                      # queue capacity\r\n                      max_queue_size:     10_000,\r\n                      # number of threads\r\n                      num_worker_threads: 1,\r\n                      # max. time (in seconds) a thread sleeps before\r\n                      # checking if there are new jobs in the queue\r\n                      sleep_interval: 1000\r\n                    },\r\n\r\n          :use_ssl => configuration.use_ssl\r\n```\r\nbut is this the right setting?"},"comment":{"url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/comments/223264400","html_url":"https://github.com/influxdata/influxdb-ruby/issues/147#issuecomment-223264400","issue_url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/147","id":223264400,"user":{"login":"dilnavazk","id":18299881,"avatar_url":"https://avatars.githubusercontent.com/u/18299881?v=3","gravatar_id":"","url":"https://api.github.com/users/dilnavazk","html_url":"https://github.com/dilnavazk","followers_url":"https://api.github.com/users/dilnavazk/followers","following_url":"https://api.github.com/users/dilnavazk/following{/other_user}","gists_url":"https://api.github.com/users/dilnavazk/gists{/gist_id}","starred_url":"https://api.github.com/users/dilnavazk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dilnavazk/subscriptions","organizations_url":"https://api.github.com/users/dilnavazk/orgs","repos_url":"https://api.github.com/users/dilnavazk/repos","events_url":"https://api.github.com/users/dilnavazk/events{/privacy}","received_events_url":"https://api.github.com/users/dilnavazk/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T11:24:08Z","updated_at":"2016-06-02T11:24:08Z","body":"@dmke Is there a way to limit the number of workers and min sleep interval?\r\n"}}
{"actor":{"display_login":"dilnavazk"}}