Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ refresh: login ## Refresh state to match reality
PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt pulumi refresh --yes --stack prod

up: login ## Deploy infrastructure (with refresh to detect drift, e.g. expired org invites)
# Dynamic providers serialize their implementation into state. Run a plain
# `up` first so any provider-code changes are captured, then refresh with the
# freshly serialized `read()`. Otherwise refresh runs stale code and fails.
PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt pulumi up --yes --stack prod
PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt pulumi up --refresh --yes --stack prod
2 changes: 1 addition & 1 deletion src/discord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function discordFetch<T>(
token: string,
endpoint: string,
options: RequestInit = {},
maxRetries = 5
maxRetries = 10
): Promise<T> {
let lastError: Error | undefined;

Expand Down
Loading