Stanford-Online / edx-platform

The Open edX platform, the software that powers Lagunita!
https://lagunita.stanford.edu
GNU Affero General Public License v3.0
42 stars 18 forks source link

Skip sleep when faking Marketo optin #939

Closed stvstnfrd closed 5 years ago

stvstnfrd commented 5 years ago

The sleep call exists as a form of naive rate-limiting. As such, we really only need it when we're actually hitting the API (--no-dry-run), not when we're faking the API hit. Otherwise, dry-runs can take prohibitively long to run.