Skip to content

Commit ec556e9

Browse files
committed
hub: bump memory up to 4G, subscribeRepos rollback window to 100k seqs
for #1266
1 parent 7c7f3e7 commit ec556e9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

atproto_hub.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ runtime_config:
1313

1414
resources:
1515
cpu: 1
16-
memory_gb: 1.6
16+
# steady state memory usage is only .5-1G, but spikes when we're working
17+
# through a backlog of commits
18+
# https://github.com/snarfed/bridgy-fed/issues/1266#issuecomment-2321863960
19+
memory_gb: 3.6
1720

1821
# can't be internal because Bluesky relay(s) need to be able to connect to us
1922
# over websocket for subscribeRepos
@@ -29,7 +32,7 @@ env_variables:
2932
MOD_SERVICE_DID: did:plc:ar7c4by46qjdydhdevvrndac
3033
# ...or test against labeler.dholms.xyz / did:plc:vzxheqfwpbi3lxbgdh22js66
3134

32-
ROLLBACK_WINDOW: 50000
35+
ROLLBACK_WINDOW: 100000
3336
SUBSCRIBE_REPOS_BATCH_DELAY: 10
3437

3538
# need only one instance so that new commits can be delivered to subscribeRepos

0 commit comments

Comments
 (0)