diff --git a/src/aleph/services/cost.py b/src/aleph/services/cost.py index 02063cd5c..ed3d57de3 100644 --- a/src/aleph/services/cost.py +++ b/src/aleph/services/cost.py @@ -85,7 +85,7 @@ def _get_nb_compute_units(content: ExecutableContent) -> int: def _get_compute_unit_multiplier(content: ExecutableContent) -> int: compute_unit_multiplier = 1 - if content.environment.internet and isinstance(content, ProgramContent): + if isinstance(content, ProgramContent) and not content.on.persistent and content.environment.internet: compute_unit_multiplier += 1 return compute_unit_multiplier