Files
mtusi2026lab6/faults

Local fault-injection files. They are not present by default, so the API behaves normally.

Write one of these names in this directory while the stack is running:

  • http_error_ratio — float 0..1, fraction of /api/ requests that return 500
  • db_slow_ms — delay added inside the db.transaction span
  • db_fail — 1 makes database calls return 503
  • handler_slow_ms — delay inside the HTTP server span and outside the database span
  • process_fail_remaining — positive integer, worker fails that many processing attempts once each

Do not put secrets here. The worker must be able to update process_fail_remaining.