open-nomad/client
Alex Dadgar bddedd7aba Don't deepcopy job when retrieving copy of Alloc
This PR removes deepcopying of the job attached to the allocation in the
alloc runner. This operation is called very often so removing reflect
from the code path and the potentially large number of mallocs need to
create a job reduced memory and cpu pressure.
2017-05-01 14:50:34 -07:00
..
allocdir Refactor Consul Syncer into new ServiceClient 2017-04-19 12:42:47 -07:00
config Various fixes 2017-03-14 12:56:31 -07:00
driver Fix Windows build. 2017-04-19 13:16:48 -07:00
fingerprint Fixed typo 2017-04-10 11:45:11 -07:00
getter Recoverable struct field must be exported 2017-03-28 12:18:57 -07:00
stats Fix nil dereference 2017-01-10 14:14:58 -08:00
structs Move chroot building into TaskRunner 2017-01-05 16:31:49 -08:00
testutil Revendor docker client 2017-02-14 17:34:05 -08:00
vaultclient Stop Vault token renew on task exit 2017-03-28 10:53:15 -07:00
alloc_runner.go Don't deepcopy job when retrieving copy of Alloc 2017-05-01 14:50:34 -07:00
alloc_runner_test.go Refactor Consul Syncer into new ServiceClient 2017-04-19 12:42:47 -07:00
client.go Refactor Consul Syncer into new ServiceClient 2017-04-19 12:42:47 -07:00
client_test.go Refactor Consul Syncer into new ServiceClient 2017-04-19 12:42:47 -07:00
consul.go Move ScriptExecutor to driver 2017-04-19 12:42:47 -07:00
consul_template.go Access Node Meta and Attrs in template 2017-03-27 15:15:33 -07:00
consul_template_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
consul_test.go Thanks go vet! 2017-04-19 13:05:41 -07:00
gc.go Review fixes 2017-03-14 10:45:15 -07:00
gc_test.go Fix test deadlock due to alloc runner not running 2017-03-16 13:22:08 -07:00
restarts.go Improve artifact download error message 2017-03-24 15:26:05 -07:00
restarts_test.go Thread through whether DeriveToken error is recoverable or not 2016-10-22 18:08:30 -07:00
serverlist.go Retry all servers on RPC call failure 2016-09-23 11:44:48 -07:00
serverlist_test.go Vendor + test fixes 2017-02-22 15:55:33 -08:00
task_runner.go Unregister from Consul when waiting for restart 2017-04-19 12:42:48 -07:00
task_runner_test.go Unregister from Consul when waiting for restart 2017-04-19 12:42:48 -07:00
task_runner_unix_test.go Split task runner tests 2017-04-04 15:02:09 -07:00
util.go Don't deepcopy job when retrieving copy of Alloc 2017-05-01 14:50:34 -07:00
util_test.go Use consul/lib's RandomStagger 2016-06-10 15:48:36 -04:00