Remove work-journal references from source comments

This commit is contained in:
ms2k 2026-07-19 01:12:18 +09:00
commit cc328237f4
5 changed files with 12 additions and 14 deletions

View file

@ -1,5 +1,5 @@
//! Dragonfly/Redis coordination primitives with G-A3 global slots and L-B1
//! process-local permits; feature packages own protocol orchestration.
//! Dragonfly/Redis coordination primitives with global slots and process-local
//! permits; feature packages own protocol orchestration.
mod error;
mod keys;

View file

@ -1,5 +1,5 @@
//! IF-1 L-B1 permit accounting holds local capacity until cooperative stop or
//! process death, independently of lease expiry.
//! Permit accounting holds local capacity until cooperative stop or process
//! death, independently of lease expiry.
use std::collections::HashMap;
use std::sync::{Arc, Mutex};

View file

@ -1,5 +1,5 @@
-- KEYS: lease, slots, reserve. ARGV[1]=job_id.
-- C2 expiry preserves G-A3 occupancy while a reservation remains.
-- Lease expiry preserves slot occupancy while a reservation remains.
local function now_ms()
local t = redis.call('TIME')
return (tonumber(t[1]) * 1000) + math.floor(tonumber(t[2]) / 1000)

View file

@ -1,4 +1,4 @@
-- G-A3 global slots: KEYS[1]=reserve KEYS[2]=slots KEYS[3]=lease
-- KEYS[1]=reserve KEYS[2]=slots KEYS[3]=lease
-- ARGV[1]=worker_id ARGV[2]=ttl_ms ARGV[3]=global_limit ARGV[4]=job_id
local function now_ms()
local t = redis.call('TIME')

View file

@ -32,8 +32,8 @@ impl Default for StoreConfig {
}
}
/// Dragonfly/Redis substrate using IF-1 G-A3 global job slots; process-local
/// permits live in [`crate::LocalPermitGate`].
/// Dragonfly/Redis global job slots; process-local permits live in
/// [`crate::LocalPermitGate`].
#[derive(Clone)]
pub struct CoordinationStore {
conn: ConnectionManager,
@ -113,7 +113,6 @@ impl CoordinationStore {
.await
}
/// Reserve under global capacity (IF-1 G-A3 + IF-4 reserve key).
pub async fn reserve(
&self,
job_id: &str,