Skip to content

Commit

Permalink
Slow down collection loop on non-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
danesparza committed Jun 30, 2017
1 parent 10f5997 commit f779095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensordata/collect.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func CollectAndProcess(ctx context.Context) {
select {
case <-ctx.Done():
return
case <-time.After(1 * time.Second):
case <-time.After(5 * time.Second):

// Dummy activity:
if !currentlyRunning {
Expand Down

0 comments on commit f779095

Please sign in to comment.