backfiller 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +4 -0
- data/README.md +5 -0
- data/backfiller.gemspec +1 -1
- data/lib/backfiller/railtie.rb +0 -2
- data/lib/backfiller/runner.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a2970d20d09fbc21cb45a2e81bcad1df89c5eb7bbc18bc3efb4e5aca9ca0a6e
|
4
|
+
data.tar.gz: 5b77098aa1904af855f50b577f4a30fb5daa8fe49af2bccaec95465175aaa37d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd118a4e985e3baabcebe0701e1dfc65e7843e218fc5c92ddda693be6df385b7192b8bb45073b292847e2108a6670c1604cac8ea434698c16b44286b67b06f90
|
7
|
+
data.tar.gz: 137858d879d1f470b60848bd6190aa273bf323640a5c06f2a827f0a4e7d18998f0b9c5133e4379056583c636643c87f4801f71b6449fa241de6aa7352044bfe3
|
data/Changelog.md
CHANGED
data/README.md
CHANGED
@@ -168,6 +168,7 @@ For Rails application backfiller is initialized with next options
|
|
168
168
|
* task_directory: `RAILS_ROOT/db/backfill`
|
169
169
|
* task_namespace: `Backfill`
|
170
170
|
* batch_size: `1_000`
|
171
|
+
* cursor_threshold: `nil`
|
171
172
|
* connection_pool: `ApplicationRecord.connection_pool`
|
172
173
|
* logger: `ApplicationRecord.logger`
|
173
174
|
|
@@ -186,6 +187,10 @@ class Backfill::Foo
|
|
186
187
|
def batch_size
|
187
188
|
100
|
188
189
|
end
|
190
|
+
|
191
|
+
def cursor_threshold
|
192
|
+
100_000
|
193
|
+
end
|
189
194
|
end
|
190
195
|
```
|
191
196
|
|
data/backfiller.gemspec
CHANGED
data/lib/backfiller/railtie.rb
CHANGED
data/lib/backfiller/runner.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backfiller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andriy Yanko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|