Skip to content

Commit

Permalink
Merge pull request #1128 from github/timrogers/ghes-timeout
Browse files Browse the repository at this point in the history
Extend timeout from 10 hours to 20 hours when generating GitHub Enterprise Server migration archives in `gh gei migrate-repo`
  • Loading branch information
timrogers authored Oct 12, 2023
2 parents 7768e33 + 6b33cbd commit baf18dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@

- Extend timeout from 10 hours to 20 hours when generating GitHub Enterprise Server migration archives in `gh gei migrate-repo`
2 changes: 1 addition & 1 deletion src/gei/Commands/MigrateRepo/MigrateRepoCommandHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class MigrateRepoCommandHandler : ICommandHandler<MigrateRepoCommandArgs>
private readonly GhesVersionChecker _ghesVersionChecker;
private readonly RetryPolicy _retryPolicy;
private readonly WarningsCountLogger _warningsCountLogger;
private const int ARCHIVE_GENERATION_TIMEOUT_IN_HOURS = 10;
private const int ARCHIVE_GENERATION_TIMEOUT_IN_HOURS = 20;
private const int CHECK_STATUS_DELAY_IN_MILLISECONDS = 10000; // 10 seconds
private const string GIT_ARCHIVE_FILE_NAME = "git_archive.tar.gz";
private const string METADATA_ARCHIVE_FILE_NAME = "metadata_archive.tar.gz";
Expand Down

0 comments on commit baf18dc

Please sign in to comment.