-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f49678
commit 9e5ec47
Showing
6 changed files
with
228 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
export const defaultControllerDomain = 'backupfire.dev' | ||
|
||
export const defaultRegion = 'us-central1' | ||
|
||
/** | ||
* The default function timeout - 9 minutes. It ensures that the user backups | ||
* are completed regardless of how many there are. | ||
* | ||
* Unlike the memory runtime option, timeout doesn't affect the function | ||
* instance price, so it's safe to set it to max. | ||
*/ | ||
export const defaultTimeout = 540 | ||
|
||
/** | ||
* The default function memory. With the increased timeout, it ensures | ||
* the users' backup completion. | ||
* | ||
* Internal testing shows that 1GB is the sweet spot. It's still cheap to run | ||
* and gives room to process huge backups. | ||
*/ | ||
export const defaultMemory = '1GB' |
Oops, something went wrong.