Skip to content

Commit 47503c9

Browse files
author
Roman
committed
increase SetChildren rate limit for patch
1 parent 40945a9 commit 47503c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/localnet_patch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ fi
2727
# replace
2828
perl -0777 -i -pe 's|pub const DurationOfStartCall: u64 = prod_or_fast!\(7 \* 24 \* 60 \* 60 / 12, 10\);|pub const DurationOfStartCall: u64 = prod_or_fast!(5, 10);|' "$DurationOfStartCall"
2929
perl -0777 -i -pe 's|pub fn DefaultPendingCooldown<T: Config>\(\) -> u64 \{\s*prod_or_fast!\(7_200, 15\)\s*\}|pub fn DefaultPendingCooldown<T: Config>() -> u64 {\n prod_or_fast!(15, 15)\n }|g' "$DefaultPendingCooldown"
30-
perl -0777 -i -pe 's|Self::SetChildren => 150, // 30 minutes|Self::SetChildren => 15, // 3 min|' "$SetChildren"
30+
perl -0777 -i -pe 's|Self::SetChildren => 150, // 30 minutes|Self::SetChildren => 30, // 6 min|' "$SetChildren"
3131

3232
echo "Patch applied successfully."

0 commit comments

Comments
 (0)