Skip to content

Commit d664c5e

Browse files
committed
Update artillery params
1 parent 7bf4675 commit d664c5e

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

e2e/artillery/configs/sign-session-key.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ config:
44
# Over 60s, ramp up to creating 50 vusers per second
55
- duration: 60
66
arrivalRate: 5
7-
# rampTo: 50
8-
rampTo: 10
7+
rampTo: 150
98
name: 'Ramp Up'
109
# Over 300s, create 50 vusers per second
1110
- duration: 300
12-
# arrivalRate: 50
13-
arrivalRate: 10
11+
arrivalRate: 150
1412
name: 'Sustained Sign Session Key'
1513
# Over 60s, ramp down to creating 5 vusers per second
1614
- duration: 60
17-
arrivalRate: 5
15+
arrivalRate: 20
1816
name: 'Ramp Down'
1917
processor: '../src/processors/multi-endpoints.ts'
2018

e2e/artillery/src/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const _network = process.env['NETWORK'];
1414

1515
// CONFIGURATIONS
1616
const REJECT_BALANCE_THRESHOLD = 0;
17-
const LEDGER_MINIMUM_BALANCE = 20000;
17+
const LEDGER_MINIMUM_BALANCE = 10000;
1818

1919
(async () => {
2020
// -- Start

e2e/artillery/src/processors/multi-endpoints.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ const createAuthContextFromState = async () => {
112112
['access-control-condition-decryption', '*'],
113113
],
114114
capabilityAuthSigs: [],
115-
expiration: new Date(Date.now() + 1000 * 60 * 15).toISOString(),
115+
// 30m expiration
116+
expiration: new Date(Date.now() + 1000 * 60 * 30).toISOString(),
116117
},
117118
litClient: litClient,
118119
});

0 commit comments

Comments
 (0)