Skip to content

Commit

Permalink
Update octopoes/octopoes/core/service.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Klopper <janklopper+underdark@gmail.com>
  • Loading branch information
originalsouth and underdarknl committed Sep 20, 2024
1 parent bcc91d3 commit 9b8fad4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions octopoes/octopoes/core/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def save_origin(
self.ooi_repository.save(ooi, valid_time=valid_time, end_valid_time=end_valid_time)
self.origin_repository.save(origin, valid_time=valid_time)

# origins that are stale need to be deleted. #3561
if not origin.result and origin.origin_type != OriginType.INFERENCE:
self.origin_repository.delete(origin, valid_time=valid_time)

Expand Down

0 comments on commit 9b8fad4

Please sign in to comment.