lib/sequel/extensions/connection_expiration.rb in sequel-4.37.0 vs lib/sequel/extensions/connection_expiration.rb in sequel-4.38.0

- old
+ new

@@ -8,9 +8,14 @@ # creating a new connection if no available connection is # unexpired. Example of use: # # DB.extension(:connection_expiration) # +# The default connection timeout is 14400 seconds (4 hours). +# To override it: +# +# DB.pool.connection_expiration_timeout = 3600 # 1 hour +# # Note that this extension only affects the default threaded # and the sharded threaded connection pool. The single # threaded and sharded single threaded connection pools are # not affected. As the only reason to use the single threaded # pools is for speed, and this extension makes the connection