You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/12/13 14:49:04 UTC
[GitHub] [couchdb-smoosh] nickva commented on a change in pull request #4:
Switch to UTC
nickva commented on a change in pull request #4: Switch to UTC
URL: https://github.com/apache/couchdb-smoosh/pull/4#discussion_r357679777
##########
File path: src/smoosh_channel.erl
##########
@@ -156,7 +156,8 @@ handle_info(check_window, State0) ->
{ok, State} = code_change(nil, State0, nil),
#state{paused = Paused, name = Name} = State,
StrictWindow = smoosh_utils:get(Name, "strict_window", "false"),
- FinalState = case {not Paused, smoosh_utils:in_allowed_window(Name)} of
+ {_, {HH, MM, _}} = calendar:universal_time(),
+ FinalState = case {not Paused, smoosh_utils:in_allowed_window({HH, MM}, Name)} of
Review comment:
@iilyak that does sound like a good idea, I like that too
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services