-
Notifications
You must be signed in to change notification settings - Fork 7
Deployment
George-Cristian Muraru edited this page Jan 2, 2021
·
4 revisions
The settings file can be found in interface/settings.py
.
In that file, there are specified different variables that are used at runtime to control a specific behavior.
-
DEBUG
- used for debugging purposes - NOT intended to be used in production -
PROFILE
- used for profiling - NOT intended to be used in production - silk it is used for this -
BLOCK_SIZE
- the size of a chunk of data, it is used when downloading a homework -
EVALUATOR_BACKEND
- select what to use when spinning up the machines for evaluating a homework -
VMCK_API_URL
- used when a new assignment is sent by the student to correctly create the POST request -
ACS_INTERFACE_ADDRESS
- used for constructing the callback URL that a machine would call when the homework finished testing -
MANAGER_MEMORY
- memory used by a container to run the evaluation script - NOTE: this is not the memory used by the machine where the assignment would run. -
MANAGER_MHZ
- MHz used by a container to run the evaluation script - NOTE: this is not the CPU power used by the machine where the assignment would run. -
MANAGER_TAG
- tag (== branch) used by the container to run the evaluation script -
SUBMISSIONS_PER_PAGE
- how many submissions to show on a page (used by the pagination component) -
FILE_UPLOAD_MAX_MEMORY_SIZE
- the maximum size that a zip archive (contains the assignment) could be -
MOSS_USER_ID
- used by the plagiarism detection tool for authentification -
APP_THREAD_COUNT
- number of threads to be by the waitress (this component responds to user requests) -
CHECK_INTERVAL_SUBS
- the interval used for querying the status of the assignments that were sent to be evaluated -
TOTAL_MACHINES
- number of submissions to be sent to be evaluated - Note: if there are multiple instances of acs-interface then there will be a total ofTOTAL_MACHINES * nr_instances
assignments sent to be evaluated -
SENDTRY_DSN
- used for reporting possible problems that might happen in PRODUCTION - https://sentry.io/welcome/