From 970e0134ec7278df054e12a76bfa74470b3e9e64 Mon Sep 17 00:00:00 2001 From: Thom Chiovoloni Date: Tue, 27 Oct 2026 14:34:44 +0000 Subject: [PATCH] Add a comment warning about changing the application_name --- src/types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types.rs b/src/types.rs index df5aa6db..7d34514b 100644 --- a/src/types.rs +++ b/src/types.rs @@ -17,6 +17,8 @@ use uuid::Uuid; pub(crate) use crate::client::backend_control_state; +// Do not change the "pg_durable:worker:" prefix; internal code +// in the service relies on it. pub(crate) const WORKER_MANAGEMENT_APPLICATION_NAME: &str = "pg_durable:worker:management"; pub(crate) const WORKER_POLL_APPLICATION_NAME: &str = "pg_durable:worker:poll"; pub(crate) const WORKER_DUROXIDE_APPLICATION_NAME: &str = "pg_durable:worker:duroxide";