Commit 97f3412
authored
fix(kanon):updated connection cleanup to share 1 thread and added logging to detect connection leakage (#3963)
* fix(kanon):updated connection cleanup to share 1 thread and added logs for connection leakage
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):refactor wallet and connection pool to use 1 thread
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):removed unecessary callback, added parellel opening to askar and kanon db
Signed-off-by: Vinay Singh <vinay@verid.id>
* style: applied ruff formatting
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):moved wallet db session to reuse profile session
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):added check to see the correct handler and changed storage to close soon
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):added explicit close to scan
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):added explicit close to scan
Signed-off-by: Vinay Singh <vinay@verid.id>
* style:applied ruff formating
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):added explicit release
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):test async context manager
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):added detailed logs
Signed-off-by: Vinay Singh <vinay@verid.id>
* style:applied ruff formating
Signed-off-by: Vinay Singh <vinay@verid.id>
* fix(kanon):corrected docker params
Signed-off-by: Vinay Singh <vinay@verid.id>
---------
Signed-off-by: Vinay Singh <vinay@verid.id>1 parent 84006f6 commit 97f3412
10 files changed
Lines changed: 831 additions & 380 deletions
File tree
- acapy_agent
- database_manager
- databases/postgresql_normalized
- handlers
- kanon
- storage
- utils
- wallet
- scenarios/examples/kanon_issuance_and_presentation
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
83 | 82 | | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
118 | | - | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
| |||
329 | 328 | | |
330 | 329 | | |
331 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
332 | 335 | | |
333 | | - | |
| 336 | + | |
334 | 337 | | |
335 | 338 | | |
336 | 339 | | |
| |||
355 | 358 | | |
356 | 359 | | |
357 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
358 | 365 | | |
359 | | - | |
| 366 | + | |
360 | 367 | | |
361 | 368 | | |
362 | 369 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| |||
Lines changed: 59 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
32 | 42 | | |
33 | 43 | | |
34 | 44 | | |
35 | 45 | | |
36 | 46 | | |
37 | 47 | | |
38 | 48 | | |
39 | | - | |
| 49 | + | |
40 | 50 | | |
41 | 51 | | |
42 | 52 | | |
| |||
173 | 183 | | |
174 | 184 | | |
175 | 185 | | |
176 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
177 | 191 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
| |||
204 | 207 | | |
205 | 208 | | |
206 | 209 | | |
207 | | - | |
| 210 | + | |
208 | 211 | | |
209 | | - | |
210 | | - | |
211 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
212 | 226 | | |
213 | 227 | | |
214 | 228 | | |
| |||
260 | 274 | | |
261 | 275 | | |
262 | 276 | | |
| 277 | + | |
263 | 278 | | |
264 | | - | |
265 | 279 | | |
| 280 | + | |
266 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
267 | 290 | | |
268 | 291 | | |
269 | | - | |
270 | | - | |
271 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
272 | 298 | | |
273 | 299 | | |
274 | 300 | | |
| |||
583 | 609 | | |
584 | 610 | | |
585 | 611 | | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
593 | 616 | | |
| 617 | + | |
| 618 | + | |
594 | 619 | | |
595 | 620 | | |
596 | | - | |
597 | | - | |
598 | | - | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
123 | 142 | | |
124 | 143 | | |
125 | 144 | | |
| |||
196 | 215 | | |
197 | 216 | | |
198 | 217 | | |
| 218 | + | |
199 | 219 | | |
200 | 220 | | |
201 | 221 | | |
| |||
208 | 228 | | |
209 | 229 | | |
210 | 230 | | |
| 231 | + | |
211 | 232 | | |
212 | 233 | | |
213 | 234 | | |
214 | 235 | | |
215 | 236 | | |
216 | 237 | | |
217 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
218 | 256 | | |
219 | 257 | | |
220 | 258 | | |
| |||
776 | 814 | | |
777 | 815 | | |
778 | 816 | | |
779 | | - | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
780 | 825 | | |
781 | 826 | | |
782 | 827 | | |
| 828 | + | |
783 | 829 | | |
784 | 830 | | |
785 | 831 | | |
786 | 832 | | |
787 | 833 | | |
| 834 | + | |
788 | 835 | | |
789 | 836 | | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
790 | 842 | | |
791 | 843 | | |
792 | 844 | | |
| |||
0 commit comments