From 77e55a5e524b81ee7da2e14132688826a406aebc Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Mon, 2 Oct 2023 00:36:53 +0000 Subject: [PATCH] fix: let mounts happen more than once per hour. --- packages/cli/lib/behavior/jobs/mount_job.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/cli/lib/behavior/jobs/mount_job.dart b/packages/cli/lib/behavior/jobs/mount_job.dart index def0c3e4..531cbd4b 100644 --- a/packages/cli/lib/behavior/jobs/mount_job.dart +++ b/packages/cli/lib/behavior/jobs/mount_job.dart @@ -1,6 +1,7 @@ import 'package:cli/behavior/behavior.dart'; import 'package:cli/behavior/central_command.dart'; import 'package:cli/cache/caches.dart'; +import 'package:cli/logger.dart'; import 'package:cli/nav/navigation.dart'; import 'package:cli/net/actions.dart'; import 'package:db/db.dart'; @@ -82,5 +83,6 @@ Future doMountJob( ); // We're done. state.isComplete = true; - failJob('Mounting complete!', const Duration(hours: 1)); + shipInfo(ship, 'Mounted ${mountJob.mountSymbol}.'); + return JobResult.complete(); }