Github user davisp commented on the issue:

    https://github.com/apache/couchdb-couch/pull/236
  
    For GC, that may be enough. Granted hibernate is more aggressive and just 
calling erlang:garbage_collect() can run into issues that hibernate fixes (ie, 
lots of ram and not much activity, it'll take a lot of wakeups to increase the 
reductions enough to garbage collect). An alternative I thought of while 
re-reading the hibernate docs, we could just do something like 
`gen_server:cast(self(), wakeup), {noreply, St, hibernate}` and then have a 
handle_cast(wakeup, St) -> {noreply, St, idle_timeout()};` clause.


---
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.
---

Reply via email to