Github user kxepal commented on a diff in the pull request:
https://github.com/apache/couchdb-chttpd/pull/115#discussion_r60452722
--- Diff: src/chttpd_auth_cache.erl ---
@@ -95,7 +95,8 @@ get_from_cache(UserName) ->
%% gen_server callbacks
init([]) ->
- {ok, #state{changes_pid = spawn_changes(0)}}.
+ self() ! {start_listener, 0},
--- End diff --
Thanks for detailed explanation!
I'm agree with you that all cases that involves dependency on time
shouldn't be used. The `#2` sounds good as it will require test suite (tests
are good in any case), but I don't have any solid expertise here to judge.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---