-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- update example worker - added environmental parameters to be set by client - set alarm to 5s - set max child processes to 10 - refactored isFull to (isFull and canEnvironmentSustainAdditionProcesses) for testing the state of the environment since that state can (and likely will) change between samples so it causes an unsafe test when combined with addChildProcess - updated tests
- Loading branch information
Showing
13 changed files
with
67 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
parameters: | ||
neighborhoods.kojo.environment.parameters.redis_port: '%env(REDIS_PORT)%' | ||
neighborhoods.kojo.environment.parameters.redis_host: '%env(REDIS_HOST)%' | ||
neighborhoods.kojo.environment.parameters.database_user_name: '%env(DATABASE_USERNAME)%' | ||
neighborhoods.kojo.environment.parameters.database_password: '%env(DATABASE_PASSWORD)%' | ||
neighborhoods.kojo.environment.parameters.database_adapter: '%env(DATABASE_ADAPTER)%' | ||
neighborhoods.kojo.environment.parameters.database_host: '%env(DATABASE_HOST)%' | ||
neighborhoods.kojo.environment.parameters.database_name: '%env(DATABASE_NAME)%' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
parameters: | ||
env(REDIS_PORT): 6379 | ||
env(REDIS_HOST): 'redis' | ||
env(DATABASE_USERNAME): '' | ||
env(DATABASE_PASSWORD): '' | ||
env(DATABASE_ADAPTER): '' | ||
env(DATABASE_HOST): '' | ||
neighborhoods.kojo.environment.parameters.redis_port: | ||
neighborhoods.kojo.environment.parameters.redis_host: | ||
neighborhoods.kojo.environment.parameters.database_user_name: | ||
neighborhoods.kojo.environment.parameters.database_password: | ||
neighborhoods.kojo.environment.parameters.database_adapter: | ||
neighborhoods.kojo.environment.parameters.database_host: | ||
neighborhoods.kojo.environment.parameters.database_name: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
parameters: | ||
neighborhoods.kojo.environment.parameters.redis_port: '%env(REDIS_PORT)%' | ||
neighborhoods.kojo.environment.parameters.redis_host: '%env(REDIS_HOST)%' | ||
neighborhoods.kojo.environment.parameters.database_user_name: '%env(DATABASE_USERNAME)%' | ||
neighborhoods.kojo.environment.parameters.database_password: '%env(DATABASE_PASSWORD)%' | ||
neighborhoods.kojo.environment.parameters.database_adapter: '%env(DATABASE_ADAPTER)%' | ||
neighborhoods.kojo.environment.parameters.database_host: '%env(DATABASE_HOST)%' | ||
neighborhoods.kojo.environment.parameters.database_name: '%env(DATABASE_NAME)%' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters