254e8c65d1
adjusted log levels for docker exit and kill messages
2017-01-11 16:04:55 +01:00
94c31e35a4
Some comments and cleanup of exercise.rb percentage calculation
2016-03-01 11:14:53 +01:00
61426e8f2e
uncomment some logging, and recreate folder for local workspace path in the docker client.
2016-01-27 15:49:38 +01:00
943d5554d9
Remove @all_containers instead of @containers during cleanup
...
Also added some comments and todos
Also fixed debug messages in remove_from_all_containers
Also refactored duplicated code with extracted function
Also removed some commented lines of code
2015-12-12 00:41:26 +08:00
e335759644
accessor methods for the container and all_container arrays hashes (in order to watch it with the rails console)
2015-12-02 16:00:31 +01:00
6170068f24
Major improvement in container fetching. ToDo: Check how much stress this puts on the docker daemon (I assume it is not that much).
...
+ some more rescue code (in return container) as well as logging fixes.
2015-11-28 16:20:16 +01:00
27d226cbe4
Merge branch 'master' of https://github.com/openHPI/codeocean
2015-11-25 11:18:18 +01:00
201b298941
Remove import
2015-11-24 09:22:22 +01:00
1f25b3558c
Merge branch 'master' of https://github.com/openHPI/codeocean
2015-11-23 20:25:02 +01:00
2678a6f1b5
some logging
2015-11-23 20:24:55 +01:00
ffdde1830b
Restore large envs first
2015-11-23 20:20:34 +01:00
c41a8d8d5e
Faster restore of containers after puma restart
2015-11-23 20:13:59 +01:00
eb8c0e46fa
Some logging, some code simplification, clear canvas on start
2015-11-03 15:54:08 +01:00
ef60494911
some more logging (and cleanup)
2015-10-29 16:27:12 +01:00
b00dde91d9
just log pool status if it is already functional.
2015-10-19 16:36:42 +02:00
646e45700b
some changes on logging output (better readability)
2015-08-21 14:43:57 +02:00
b8e35274ac
Added some roadmap
2015-04-28 13:46:56 +02:00
7296ccda33
Cleanup
2015-04-23 13:12:44 +02:00
40f37410ac
Fix logged
2015-04-23 10:04:17 +02:00
431b18b526
Added some logs
2015-04-23 09:54:30 +02:00
edbf74b4b9
Only return container if its not there already
2015-04-23 08:59:30 +02:00
e515afe619
updated container handling. hopefully removed potential error source.
2015-04-22 15:00:01 +02:00
a7087824b1
added a null check, removed setting status to used due to test problems, fixed mocking of container object.
2015-04-22 11:38:07 +02:00
e448e403ba
restart containers if they are running for more than 15 minutes (900 seconds)
2015-04-21 18:28:34 +02:00
95923a137e
Do not create more containers as the pool count
2015-04-14 20:23:41 +02:00
9187596f18
Do not create container if pooling is on and all containers are gone
2015-04-14 19:47:01 +02:00
168df58cc7
debugging
2015-04-14 16:45:56 +02:00
c0fde51f6c
Backup commit
2015-04-13 22:36:27 +02:00
c260d4f2ea
fixed absent initiation of refill task
2015-03-14 14:34:38 +01:00
4a6e6eb5e6
refactored refill of Docker container pool
2015-02-20 14:59:51 +01:00
1226eb9d24
refill Docker container pool in small batches
2015-02-11 15:48:06 +01:00
5f0815b140
implemented pooling for Docker containers
2015-02-06 15:59:51 +01:00