Skip to content

Commit

Permalink
corrected a typo in the readme
Browse files Browse the repository at this point in the history
corrected a typo
  • Loading branch information
SarahCovey committed Jun 18, 2018
1 parent dd3c2f4 commit 4ea0999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/architecture/workers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The game worker is subordinated to the [game](game). The worker has two componen

The initialization of the worker has the responsibility of getting the user code and a set of options that the avatar uses at initialization. When the user updates the code in the [code editor](https://ace.c9.io/), the code gets saved in the database.

Updating the code of an user is done with the help of the database through the [game API](game-api). The game API resource for getting the code and for posting new code is shared: when a GET is made, we receive the avatar code, a POST is made, we update the avatar code.
Updating the code of a user is done with the help of the database through the [game API](game-api). The game API resource for getting the code and for posting new code is shared: when a GET is made, we receive the avatar code, a POST is made, we update the avatar code.

The code and options are saved inside a directory. The directory is built when the `initilization.py` file is executed. The [LocalWorkerManager](worker-manager)(from [Game](game)) does not call the initialization.py function, updating the files by hand, then running the service.py. The [KubernetesWorkerManager](worker-manger)(from [Game](game)) run both functions by running the shell file `run.py`.

Expand Down

0 comments on commit 4ea0999

Please sign in to comment.