File tree Expand file tree Collapse file tree
components/spider-storage/src/state Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ use crate::{
99#[ derive( thiserror:: Error , Debug ) ]
1010pub enum StorageServerError {
1111 #[ error( transparent) ]
12- Internal ( #[ from] InternalError ) ,
12+ CacheInternal ( #[ from] InternalError ) ,
1313
1414 #[ error( transparent) ]
15- StaleState ( #[ from] StaleStateError ) ,
15+ CacheStaleState ( #[ from] StaleStateError ) ,
1616
1717 #[ error( "stale session" ) ]
1818 StaleSession ,
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ use crate::{
1111
1212/// An in-memory cache for job control blocks.
1313///
14- /// This type provides concurrent access to job control blocks via a `DashMap`.
15- /// It is generic over the same type parameters as [`SharedJobControlBlock`].
14+ /// This type provides concurrent access to job control blocks via a `DashMap`. It is generic over
15+ /// the same type parameters as [`SharedJobControlBlock`].
1616///
1717/// # Type Parameters
1818///
@@ -170,7 +170,7 @@ mod tests {
170170 struct MockDbConnector ;
171171
172172 #[ async_trait:: async_trait]
173- impl crate :: db :: InternalJobOrchestration for MockDbConnector {
173+ impl InternalJobOrchestration for MockDbConnector {
174174 async fn start ( & self , _job_id : JobId ) -> Result < ( ) , crate :: db:: DbError > {
175175 Ok ( ( ) )
176176 }
You can’t perform that action at this time.
0 commit comments