Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ is_expired
Method
is_expired
nodedb/src/data/executor/task.rs:49–51 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
47
}
48
49
pub fn is_expired(&self) -> bool {
50
std::time::Instant::now() > self.request.deadline
51
}
52
}
Callers
2
poll_write_batch
Method · 0.45
poll_one
Method · 0.45
Calls
1
now
Function · 0.85
Tested by
no test coverage detected