making obsoleted expiry time configurable

This is fixed now. Thanks imesh for pointing this out.