File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ RUN npm install --production
19
19
ENV SERVER_PORT 3000
20
20
ENV PAYLOAD_MAX_SIZE 1048576
21
21
ENV TIMEOUT_SERVER 120000
22
- ENV TIMEOUT_SOCKET 120000
22
+ ENV TIMEOUT_SOCKET 140000
23
23
24
24
# Expose 3000
25
25
EXPOSE 3000
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ PAYLOAD_MAX_SIZE default is 1048576 (1 MB)
51
51
52
52
TIMEOUT_SERVER default is 2 minutes (120 000 milliseconds)
53
53
54
- TIMEOUT_SOCKET default is 2 minutes (120 000 milliseconds)
54
+ TIMEOUT_SOCKET default is 2 minutes and 20 seconds (140 000 milliseconds)
55
55
56
56
Change it in the Dockerfile or create an env-file and load it at containerstart
57
57
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ module.exports = {
4
4
SERVER_PORT : process . env . SERVER_PORT || 3000 ,
5
5
PAYLOAD_MAX_SIZE : process . env . PAYLOAD_MAX_SIZE || 1048576 ,
6
6
TIMEOUT_SERVER : process . env . TIMEOUT_SERVER || 60000 * 2 ,
7
- TIMEOUT_SOCKET : process . env . TIMEOUT_SOCKET || 60000 * 2
7
+ TIMEOUT_SOCKET : process . env . TIMEOUT_SOCKET || 70000 * 2
8
8
}
Original file line number Diff line number Diff line change 1
1
SERVER_PORT = 3000
2
2
PAYLOAD_MAX_SIZE = 1048576
3
3
TIMEOUT_SERVER = 120000
4
- TIMEOUT_SOCKET = 120000
4
+ TIMEOUT_SOCKET = 140000
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tfk-api-unoconv" ,
3
- "version" : " 3.1.0 " ,
3
+ "version" : " 3.1.1 " ,
4
4
"private" : true ,
5
5
"description" : " Unoconv as a webservice" ,
6
6
"author" : {
You can’t perform that action at this time.
0 commit comments