igor-disable-cancellation allow cancellation to be disabled temporarily

in order to verify the impact that cancellations have on our rabbitmq
cpu usage, we are considering turning off cancellations for a short
period of time.

our rabbitmq cancellations have a very wide fan-out, and we want to
make sure that is not adversely affecting our rabbit instance.

when we error out these cancellations, they should be retried by
sidekiq at a later time (and periodically). this way, once
cancellations are re-enabled, we should automatically re-process the
skipped cancellations.

there will still be some user impact, but it will be in form of a
cancellation delay, as opposed to cancellation not working at all.

Igor avatar Igor

Push event #2480 errored

  • Ran for
  • Total time
  • New branch build
Jagepard/Rudra-Container:.travis.yml@70da0ac
language: php

# Define the php versions against we want to test our code
php:
    - 7.4

before_script:
    - wget http://getcomposer.org/composer.phar
    - php composer.phar install --dev --no-interaction
    - composer require --dev phpunit/phpunit ^9

script:
    - mkdir -p build/logs
    - phpunit --coverage-clover build/logs/clover.xml

after_success:
    - bash <(curl -s https://codecov.io/bash)
Build Config
{
  "os": [
    "linux"
  ],
  "env": {
    "global": [
      "COVERAGE=1"
    ]
  },
  "rvm": [
    "2.4.2"
  ],
  "dist": "trusty",
  "sudo": false,
  "cache": {
    "bundler": true
  },
  "addons": {
    "postgresql": "9.3"
  },
  "matrix": {
    "include": [
      {
        "stage": "testing time"
      },
      {
        "dist": "trusty",
        "sudo": true,
        "stage": ":ship: it to Quay.io",
        "script": [
          "./script/docker-build-and-push"
        ],
        "install": [
          "skip"
        ],
        "before_script": [
          "curl -L https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > ./docker-compose",
          "sudo mv ./docker-compose /usr/local/bin/docker-compose",
          "sudo chmod +x /usr/local/bin/docker-compose"
        ],
        "before_install": [
          "skip"
        ]
      },
      {
        "stage": "trigger automated build on Docker Hub",
        "script": [
          "script/send-docker-hub-trigger"
        ],
        "install": [
          "skip"
        ],
        "before_script": [
          "skip"
        ],
        "before_install": [
          "skip"
        ]
      }
    ]
  },
  "script": [
    "bundle exec rspec"
  ],
  "language": "ruby",
  "services": [
    "memcached",
    "redis-server",
    "rabbitmq"
  ],
  "before_script": [
    "bundle exec rake db:create --trace"
  ],
  "before_install": [
    "bundle config https://gems.contribsys.com/ $BUNDLE_GEMS__CONTRIBSYS__COM"
  ]
}