diff options
author | Rob Austein <sra@hactrn.net> | 2014-08-07 19:00:26 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-08-07 19:00:26 +0000 |
commit | b01cefe6bcfeeaea58b1dc54caedb53aa6952150 (patch) | |
tree | 9043ca2fd2e7853a1c374a99c10f7ceb62b65e43 /rpki | |
parent | ff33e2a335a01f2b438c84f7108cae37eb444e45 (diff) |
Notes
svn path=/branches/tk705/; revision=5916
Diffstat (limited to 'rpki')
-rw-r--r-- | rpki/pubd.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rpki/pubd.py b/rpki/pubd.py index 4f1ea417..ae2265bf 100644 --- a/rpki/pubd.py +++ b/rpki/pubd.py @@ -226,9 +226,13 @@ class main(object): # Should SQL commit here - # These could be merged, and perhaps should be. - self.session.write_snapshot() + # These could be merged, and perhaps should be, among other + # reasons because we need to do something about expiring old + # deltas and deleting old XML files, and it's probably easier + # to avoid race conditions if we do this all in one place. + self.session.write_deltas() + self.session.write_snapshot() self.session.write_notification() # Somewhere around here is also where we should finally write |