Open tej99 opened 7 years ago
Resetting _deliveries on reconnect causes the publisher to delete all files that are in the "recent" dict as it thinks they have been delivered.
https://github.com/ONSdigital/sdx-seft-publisher-service/blob/0a81474b9a8b270f5f25994d81ac7a14524b90f4/app/publisher.py#L60
BUG: [SEFT] Publisher service all files get deleted
Resetting _deliveries on reconnect causes the publisher to delete all files that are in the "recent" dict as it thinks they have been delivered.
https://github.com/ONSdigital/sdx-seft-publisher-service/blob/0a81474b9a8b270f5f25994d81ac7a14524b90f4/app/publisher.py#L60