Class: FlossFunding::OnLoadLockfile
- Inherits:
-
LockfileBase
- Object
- LockfileBase
- FlossFunding::OnLoadLockfile
- Defined in:
- lib/floss_funding/lockfile.rb
Overview
Lockfile that records on_load nags (during Poke/Inclusion time)
Constant Summary
Constants inherited from LockfileBase
LockfileBase::MAX_SECONDS, LockfileBase::MIN_SECONDS
Instance Attribute Summary
Attributes inherited from LockfileBase
Instance Method Summary collapse
-
#default_filename ⇒ Object
-
#env_seconds_key ⇒ Object
-
#lock_type ⇒ Object
-
#max_default_seconds ⇒ Object
Methods inherited from LockfileBase
#initialize, #nagged?, #record_nag, #rotate_if_expired!, #touch!
Constructor Details
This class inherits a constructor from FlossFunding::LockfileBase
Instance Method Details
#default_filename ⇒ Object
275 276 277 |
# File 'lib/floss_funding/lockfile.rb', line 275 def default_filename ".floss_funding.ruby.on_load.lock" end |
#env_seconds_key ⇒ Object
287 288 289 |
# File 'lib/floss_funding/lockfile.rb', line 287 def env_seconds_key :FLOSS_CFG_FUNDING_ON_LOAD_SEC_PER_NAG_MAX end |
#lock_type ⇒ Object
279 280 281 |
# File 'lib/floss_funding/lockfile.rb', line 279 def lock_type "on_load" end |
#max_default_seconds ⇒ Object
283 284 285 |
# File 'lib/floss_funding/lockfile.rb', line 283 def max_default_seconds 86_400 # 24 hours end |