Commit 7629e32a authored by Daniel Wortmann's avatar Daniel Wortmann

Added a 4s timeout to curl to send data.

parent e6c0f501
......@@ -135,7 +135,7 @@ CONTAINS
#else
!Send using curl
call execute_command_line(&
'curl -X POST -H "Content-Type: application/json" -d @usage.json https://docker.iff.kfa-juelich.de/fleur-usage-stats/',&
'curl -X POST -H --connect-timeout 4 "Content-Type: application/json" -d @usage.json https://docker.iff.kfa-juelich.de/fleur-usage-stats/',&
exitstat=ierr(1), cmdstat=ierr(2))
if(all(ierr == 0)) then
write (*,*) "Usage data send using curl: usage.json"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment