Address policies that timeout when rating

Problem

Large policies have three backend calls that often won’t finish before the NGINX timeout.

Solution

When a user attempts to rate a policy and a timeout occurs, a BriteCore engineer needs to rate the policy using bin scripts.

To rate a policy using bin scripts:

  1. If a new revision is needed, create a new revision (bin/new_revision.py).
  2. Rate the revision (bin/rate_and_save.py).
  3. Commit the revision (bin/commit_revision.py).