-#define FIRST_EVENT_TIMEOUT_SEC 1
-#define EVENT_TIMEOUT_SEC 5
-#define UDEVSEND_RETRY_COUNT 50 /* x 10 millisec */
+#define UDEV_MAGIC "udevd_" UDEV_VERSION
+#define UDEVD_SOCK_PATH "/org/kernel/udev/udevd"
+#define UDEVSEND_WAIT_MAX_SECONDS 3
+#define UDEVSEND_WAIT_LOOP_PER_SECOND 10
+
+#define UDEVD_PRIORITY -4
+#define UDEV_PRIORITY -2
+
+#define EVENT_QUEUE_DIR ".udev/queue"
+#define EVENT_FAILED_DIR ".udev/failed"
+
+/* maximum limit of forked childs */
+#define UDEVD_MAX_CHILDS 64
+/* start to throttle forking if maximum number of running childs in our session is reached */
+#define UDEVD_MAX_CHILDS_RUNNING 16