HomePhabricator

Add "--background" and "--count" flags to "bin/webhook call"

Description

Add "--background" and "--count" flags to "bin/webhook call"

Summary:
See PHI1794, which reports an issue where a large number of queued webhook calls led to connection exhaustion. To make this easier to reproduce and test, add "--count" and "--background" flags to "bin/webhook call".

This primarily supports "bin/webook call ... --background --count 10000" to quickly fill the queue with a bunch of calls.

Test Plan: Ran bin/webhook call in foreground and background modes, with and without counts. Saw appropriate console and queue behavior.

Differential Revision: https://secure.phabricator.com/D21368

Details

Provenance
epriestleyAuthored on Jun 26 2020, 12:45 AM
epriestleyPushed on Jun 26 2020, 1:06 AM
Differential Revision
D21368: Add "--background" and "--count" flags to "bin/webhook call"
Parents
rP9ce1271805e9: Improve the quality of SSH error messages
Branches
Unknown
Tags
Unknown
Build Status
Buildable 24678
Build 34032: Run Core Tests