Add an overrideable, default config ttl value.
manually merging george's ttl changes