On Fri, Jan 17, 2020 at 5:10 PM sebb <seb...@gmail.com> wrote: > > I'm not sure what is the purpose of the weak references when applied > to instances of the LDAP class. > > Why does an instance not use hard references so that they last for the > life of the instance?
Passenger applications like the roster tool, the secretary workbench, and board agenda tool can stay up for hours or even days. See: https://whimsy.apache.org/status/passenger After every request, every hard reference will go away, enabling the object to be garbage collected. What this generally means is that a request will have a consistent view of LDAP, and new requests will get fresh data. - Sam Ruby