HomePhabricator
Diffusion Comm 50d12886e7e7

[keyserver] Add a script for triggering socket crash loop

Description

[keyserver] Add a script for triggering socket crash loop

Summary:
Linear issue: https://linear.app/comm/issue/ENG-2075/reproduce-socket-crash-loop-in-production-with-artificial-test-data
Calling this script in keyserver/ causes 1000 threads to be created under GENESIS with ashoat user and user whos id is specified as spammedUserID.
Having my physical iOS device use 3G this caused a socket crash loop.
Mind that creating 1000 threads takes about 15min.

Test Plan:
Set iOS physical device network profile to 3G and run the script in keyserver/
This was tested on 22ac9645d0eb5f83a23a8c1daae0d31ebed5a4a1 D5513

Reviewers: tomek, atul, marcin

Reviewed By: tomek

Subscribers: ashoat, abosh

Differential Revision: https://phab.comm.dev/D5530

Details

Provenance
InkaSokolowskaAuthored on Nov 4 2022, 7:08 AM
Reviewer
tomek
Differential Revision
D5530: [keyserver] Add a script for triggering socket crash loop
Parents
rCOMMf0745ad28684: [native] Added highlight effect to arrow background
Branches
Unknown
Tags
Unknown