Skip to content

Commit ea2f4f2

Browse files
committed
increase default timeouts
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent 966b436 commit ea2f4f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/core/k8.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ export class K8 {
548548
* @param {number} [timeoutMs] - timeout, defaults to 5,500 ms
549549
* @returns {Promise<boolean>} return a Promise that performs the copy operation
550550
*/
551-
async copyTo (podName, containerName, srcPath, destDir, filter = undefined, timeoutMs = 10_000) {
551+
async copyTo (podName, containerName, srcPath, destDir, filter = undefined, timeoutMs = 30_000) {
552552
const self = this
553553
const namespace = this._getNamespace()
554554
const guid = uuid4()
@@ -643,7 +643,7 @@ export class K8 {
643643
* @param {number} [timeoutMs] - copyFrom timeout, defaults to 5,500 ms
644644
* @returns {Promise<boolean>}
645645
*/
646-
async copyFrom (podName, containerName, srcPath, destDir, timeoutMs = 5_500) {
646+
async copyFrom (podName, containerName, srcPath, destDir, timeoutMs = 30_000) {
647647
const self = this
648648
const namespace = self._getNamespace()
649649
const guid = uuid4()

0 commit comments

Comments
 (0)