Class: Procrastinate::SpawnStrategy::Simple

Inherits:
Object
  • Object
show all
Defined in:
lib/procrastinate/spawn_strategy/simple.rb

Direct Known Subclasses

Throttled

Instance Method Summary collapse

Instance Method Details

#notify_deadObject



10
11
# File 'lib/procrastinate/spawn_strategy/simple.rb', line 10

def notify_dead
end

#notify_spawnObject



7
8
# File 'lib/procrastinate/spawn_strategy/simple.rb', line 7

def notify_spawn
end

#should_spawn?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/procrastinate/spawn_strategy/simple.rb', line 3

def should_spawn?
  true
end