Method: Webhookdb::Replicator::Base#_parallel_backfill
- Defined in:
- lib/webhookdb/replicator/base.rb
#_parallel_backfill ⇒ Object
If this replicator supports backfilling in parallel (running multiple backfillers at a time), return the degree of paralellism (or nil if not running in parallel). We leave parallelism up to the replicator, not CPU count, since most work involves waiting on APIs to return.
NOTE: These threads are in addition to any worker threads, so it’s important to pay attention to memory use.
1051 1052 1053 |
# File 'lib/webhookdb/replicator/base.rb', line 1051 def _parallel_backfill return nil end |