Increase upload timeout to 5min
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Tue, 9 Aug 2016 15:07:32 +0000 (17:07 +0200)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Tue, 9 Aug 2016 15:07:32 +0000 (17:07 +0200)
main.c

diff --git a/main.c b/main.c
index 15d0b4c5c7e8cf5351609168308fb5b22b866818..4a0ecc7beb0175e08e6a629a20e9b21ba685bb47 100644 (file)
--- a/main.c
+++ b/main.c
@@ -115,7 +115,7 @@ int main(int argc, char **argv)
        int list = 0;
        struct nmrpd_args args = {
                .rx_timeout = 200,
-               .ul_timeout = 120000,
+               .ul_timeout = 5 * 60 * 1000,
                .tftpcmd = NULL,
                .file_local = NULL,
                .file_remote = NULL,