Files
containerd/pkg/cri/server
Ed Bartosh 8ed910c46a CDI: configure registry on start
Currently CDI registry is reconfigured on every
WithCDI call, which is a relatively heavy operation.

This happens because cdi.GetRegistry(cdi.WithSpecDirs(cdiSpecDirs...))
unconditionally reconfigures the registry (clears fs notify watch,
sets up new watch, rescans directories).

Moving configuration to the criService.initPlatform should result
in performing registry configuration only once on the service start.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2022-10-12 13:45:20 +03:00
..
2021-08-22 09:31:50 +09:00
2022-04-19 13:39:30 +00:00
2022-04-22 15:41:05 +00:00
2022-08-04 18:18:33 -07:00
2022-09-19 22:14:11 +00:00
2021-08-22 09:31:50 +09:00
2022-05-29 18:32:09 -07:00
2021-08-05 22:27:46 -07:00
2022-08-10 03:55:51 +00:00
2020-10-07 13:09:37 -07:00
2022-05-17 23:53:36 +08:00
2022-04-19 13:39:30 +00:00
2021-08-22 09:31:50 +09:00