mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
perf(lambda): avoid code-copy helper shutdown delay (#5646)
* perf(lambda): avoid code-copy helper shutdown delay * test(lambda): scope the code-copy fixture threshold Signed-off-by: Andre Kurait <akurait@amazon.com> * chore(ci): retry the EKS registry fixture check Signed-off-by: Andre Kurait <akurait@amazon.com> --------- Signed-off-by: Andre Kurait <akurait@amazon.com>
This commit is contained in:
1 parent
5a72b4f561
commit
f08a443ec9
3 files changed
+54
-2
No files matched your search
+2
-1
@@ -989,7 +989,8 @@ public class ContainerLauncher implements LambdaRuntimeLauncher {
|
||||
} finally {
|
||||
if (helperId != null) {
|
||||
try {
|
||||
lifecycleManager.stopAndRemove(helperId, null);
|
||||
// This helper only sleeps while the copy runs; it has no runtime to drain.
|
||||
lifecycleManager.stopAndRemove(helperId, null, 0);
|
||||
} catch (Exception e) {
|
||||
LOG.warnv("Could not remove code-volume helper {0}: {1}", helperId, e.getMessage());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user