Commit eec55a32 authored by Claude Brisson's avatar Claude Brisson

Greater idle timeout

parent c8ff654e
......@@ -3,7 +3,7 @@
#include <gtkmm-3.0/gtkmm.h>
#define TIMEOUT 1000
#define IDLE 300000 // 5 min
#define IDLE 900000 // 15 min
typedef std::chrono::time_point<std::chrono::system_clock> timestamp;
#define TIME_DIFF(a,b) (std::chrono::duration_cast<std::chrono::seconds>((a) - (b)).count())
#define TIME_NOW() (std::chrono::system_clock::now())
......
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