|
48 | 48 | from dstack._internal.core.models.volumes import MountPoint, VolumeMountPoint |
49 | 49 | from dstack._internal.core.services.profiles import get_retry |
50 | 50 | from dstack._internal.core.services.ssh.ports import filter_reserved_ports |
51 | | -from dstack._internal.server import settings as server_settings |
52 | 51 | from dstack._internal.server.services.docker import ImageConfig, get_image_config |
53 | 52 | from dstack._internal.utils import crypto |
54 | 53 | from dstack._internal.utils.common import run_async |
@@ -170,7 +169,6 @@ async def _get_job_spec( |
170 | 169 | privileged=self._privileged(), |
171 | 170 | single_branch=self._single_branch(), |
172 | 171 | max_duration=self._max_duration(), |
173 | | - log_quota_hour=self._log_quota_hour(), |
174 | 172 | stop_duration=self._stop_duration(), |
175 | 173 | utilization_policy=self._utilization_policy(), |
176 | 174 | registry_auth=self._registry_auth(), |
@@ -306,10 +304,6 @@ def _max_duration(self) -> Optional[int]: |
306 | 304 | return None |
307 | 305 | return self.run_spec.merged_profile.max_duration |
308 | 306 |
|
309 | | - def _log_quota_hour(self) -> Optional[int]: |
310 | | - quota = server_settings.SERVER_LOG_QUOTA_PER_JOB_HOUR |
311 | | - return quota if quota > 0 else None |
312 | | - |
313 | 307 | def _stop_duration(self) -> Optional[int]: |
314 | 308 | if self.run_spec.merged_profile.stop_duration is None: |
315 | 309 | return DEFAULT_STOP_DURATION |
|
0 commit comments