mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FEATURE: Zendesk importer that uses its API to get data
This commit is contained in:
@ -873,7 +873,7 @@ class ImportScripts::Base
|
||||
@start_times.fetch(key) { |k| @start_times[k] = Time.now }
|
||||
end
|
||||
|
||||
def batches(batch_size)
|
||||
def batches(batch_size = 1000)
|
||||
offset = 0
|
||||
loop do
|
||||
yield offset
|
||||
|
Reference in New Issue
Block a user