World Conquest Chronicles

World Conquest Chronicles

go-exercises-worker, v1.1.3

Background worker of the service for solving programming exercises.

Install the goimports tool in the Travis CI configuration and add the general integration tests.

Change Log

  • rename the used environment variables;
  • goimports tool:
    • specify the version of the tool in the Docker configuration;
    • install the tool in the Travis CI configuration;
  • add the general integration tests;
  • fix and complete the badges in the README.md file.

Usage

$ go-exercises-backend

Environment variables:

  • ALLOWED_IMPORT_CONFIG — path to the allowed import config (default: ./configs/allowed_imports.json);
  • RUNNING_TIMEOUT — maximal duration of solution running (default: 10s);
  • message broker:
    • MESSAGE_BROKER_ADDRESSRabbitMQ connection URI (default: amqp://rabbitmq:rabbitmq@localhost:5672);
    • MESSAGE_BROKER_BUFFER_SIZERabbitMQ channel capacity (default: 1000);
  • SOLUTION_CONSUMER_CONCURRENCY — amount of solution consumer threads (default: 1000).

Repository

Link: https://github.com/thewizardplusplus/go-exercises-worker/tree/v1.1.3.

Content: code.

License: MIT.