Commit c905b86
authored
Instances where a commit can happen without a close (#363)
I've found a couple of instances where the database can be committed to without then being closed:
- Tomography preprocessing flushes
- Particle picking registration if an ispyb picker id is not found
The second one of these would explain why we see spikes in database connections shortly after collections start. Once the picker id is found all the connections end up closed.
Closes #3621 parent a125e4d commit c905b86
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
812 | | - | |
813 | | - | |
814 | | - | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
815 | 815 | | |
816 | 816 | | |
817 | | - | |
| 817 | + | |
818 | 818 | | |
819 | 819 | | |
820 | | - | |
| 820 | + | |
821 | 821 | | |
822 | 822 | | |
823 | 823 | | |
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| 877 | + | |
877 | 878 | | |
878 | 879 | | |
879 | 880 | | |
| |||
2127 | 2128 | | |
2128 | 2129 | | |
2129 | 2130 | | |
| 2131 | + | |
2130 | 2132 | | |
2131 | 2133 | | |
2132 | 2134 | | |
| |||
0 commit comments