Commit 2602b0a
authored
Fixed flushing of skipped files (#621)
* Removed 'label' field from the 'RsyncerSource' Pydantic models, and removed the key from requests to endpoints that use that model
* Only display error message about no rsync processes being run if files were scheduled for transfer; this should skip the case of an empty list
* Update visit end time information in rsyncer and database when triggering a flush, but only if the end time is greater than what is currently stored in the database
* The 'end_time' attribute of the RSyncer is modiifed by the instrument server endpoint, and not as part of the flush
* Stored the time offset between the server and the client as an attribute in the MultigridController; convert the received server timestamp into the client's time when updating visit end times
* Added a return message to the 'stop_multigrid_watcher' and 'update_multigrid_controller_visit_end_time' endpoints in the instrument server1 parent 4d783a7 commit 2602b0a
File tree
4 files changed
+50
-23
lines changed- src/murfey
- client
- instrument_server
- server/api
4 files changed
+50
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
107 | 117 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
156 | | - | |
| 160 | + | |
| 161 | + | |
157 | 162 | | |
158 | | - | |
| 163 | + | |
159 | 164 | | |
160 | 165 | | |
161 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | 223 | | |
225 | 224 | | |
226 | 225 | | |
| |||
561 | 560 | | |
562 | 561 | | |
563 | 562 | | |
564 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
565 | 566 | | |
566 | 567 | | |
567 | 568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| 223 | + | |
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
226 | | - | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | 343 | | |
345 | 344 | | |
346 | 345 | | |
| |||
367 | 366 | | |
368 | 367 | | |
369 | 368 | | |
370 | | - | |
371 | 369 | | |
372 | 370 | | |
373 | 371 | | |
| |||
420 | 418 | | |
421 | 419 | | |
422 | 420 | | |
423 | | - | |
| 421 | + | |
424 | 422 | | |
425 | 423 | | |
426 | 424 | | |
| |||
467 | 465 | | |
468 | 466 | | |
469 | 467 | | |
470 | | - | |
471 | 468 | | |
472 | 469 | | |
473 | 470 | | |
| |||
495 | 492 | | |
496 | 493 | | |
497 | 494 | | |
498 | | - | |
499 | 495 | | |
500 | 496 | | |
501 | 497 | | |
| |||
510 | 506 | | |
511 | 507 | | |
512 | 508 | | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
517 | 527 | | |
518 | 528 | | |
519 | 529 | | |
520 | 530 | | |
521 | 531 | | |
522 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
523 | 544 | | |
524 | 545 | | |
525 | 546 | | |
526 | | - | |
527 | 547 | | |
528 | 548 | | |
529 | 549 | | |
| |||
0 commit comments