Commit f2a4b40
authored
Fix Shutdown for Archive (#301)
* use actorpool, custom smol executor
* cleanup
* migrations
* simplify type arguments for all structs
* finish cleaning up type arguments
* use coil master
* migrations for coil changes
* dont continue on empty
* some tweaks/cleanup
* troubleshooting shutdown
* adding test for missing_storage query
* paginate storage restoration
* update substrate/polkadot
* create function for converting hex to integer in sql
* add runtime features for polkadot-archive
* use coil from crates
* add offline sql
* make tests pass
* cancel storage restoration on Ctrl-C
* cleanup
* cleanup
* query format
* sqlx-data for offline compilation
* troubleshoot shutdown
* lints & paginate query
* offline sqlx
* fix shutdown
* make pagination a stream
* cleanup
* update locked dependencies
* remove tasks vector in Actors struct
* bump xtra to 0.5
* fix comment on tick_interval
* spacing
* update lockfiles
* fix lint
* use coil on crates
* fix changes during merge
* fix spawn & kill listener in Drop
* add back deny dead_code
* remove debug log
* fix tests
* clippy lints
* moar clippy lints1 parent 36d955d commit f2a4b40
File tree
20 files changed
+189
-420
lines changed- bin
- node-template-archive
- polkadot-archive
- substrate-archive-backend/src
- substrate-archive
- src
- actors/workers
- database
20 files changed
+189
-420
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
9 | 20 | | |
10 | 21 | | |
11 | 22 | | |
12 | 23 | | |
13 | 24 | | |
14 | 25 | | |
15 | 26 | | |
16 | | - | |
| 27 | + | |
17 | 28 | | |
18 | 29 | | |
19 | 30 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 56 | | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 60 | | |
69 | 61 | | |
70 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | 151 | | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | 165 | | |
168 | 166 | | |
169 | 167 | | |
| |||
0 commit comments