Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
dcache-cta
Commits
21e5d7f9
Commit
21e5d7f9
authored
Dec 17, 2021
by
Tigran Mkrtchyan
☕
Browse files
driver: mover pending requests population into onNext section
parent
8f19e29b
Pipeline
#14979
passed with stages
in 3 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/dcache/nearline/cta/CtaNearlineStorage.java
View file @
21e5d7f9
...
...
@@ -169,6 +169,7 @@ public class CtaNearlineStorage implements NearlineStorage {
response
.
getFid
(),
response
.
getReqId
()
);
pendingRequests
.
put
(
id
,
new
PendingRequest
(
Instant
.
now
(),
r
));
}
@Override
...
...
@@ -181,7 +182,6 @@ public class CtaNearlineStorage implements NearlineStorage {
@Override
public
void
onCompleted
()
{
pendingRequests
.
put
(
id
,
new
PendingRequest
(
Instant
.
now
(),
r
));
}
});
}
...
...
@@ -242,6 +242,7 @@ public class CtaNearlineStorage implements NearlineStorage {
r
.
getFileAttributes
().
getPnfsId
(),
response
.
getReqId
()
);
pendingRequests
.
put
(
id
,
new
PendingRequest
(
Instant
.
now
(),
r
));
}
@Override
...
...
@@ -254,7 +255,6 @@ public class CtaNearlineStorage implements NearlineStorage {
@Override
public
void
onCompleted
()
{
pendingRequests
.
put
(
id
,
new
PendingRequest
(
Instant
.
now
(),
r
));
}
});
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment