Commit cfa8437
committed
Reconnect to database after parallel exits
The database connections are lost when using processes.
This is explicitly called out in parallel's documentation: https://github.com/grosser/parallel#activerecord1 parent 319c21c commit cfa8437
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments