Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Resource Types
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
libraries
Resource Types
Commits
24e68bff
Commit
24e68bff
authored
2 years ago
by
L. Ellenbeck
Browse files
Options
Downloads
Patches
Plain Diff
better simulator check (coscine/issues#2072)
parent
e1d0be38
Branches
Issue/2072-wormResourceType
No related tags found
1 merge request
!1
New: New implementation for resource types
Pipeline
#719850
passed
2 years ago
Stage: build
Stage: test
Stage: publish
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ResourceTypes.RdsWorm/RdsS3WormResourceType.cs
+5
-2
5 additions, 2 deletions
src/ResourceTypes.RdsWorm/RdsS3WormResourceType.cs
with
5 additions
and
2 deletions
src/ResourceTypes.RdsWorm/RdsS3WormResourceType.cs
+
5
−
2
View file @
24e68bff
...
...
@@ -207,8 +207,11 @@ namespace Coscine.ResourceTypes.RdsWorm
// Should be enough
var
retention
=
long
.
MaxValue
;
// Debug one day
retention
=
60
*
60
*
24
;
// Set retention to one day for our simulator
if
(
RdsS3WormResourceTypeConfiguration
.
Endpoint
.
Contains
(
"ecs-sim01.itc.rwth-aachen.de"
))
{
retention
=
60
*
60
*
24
;
}
if
(
options
?.
ContainsKey
(
"retention"
)
==
true
&&
long
.
TryParse
(
options
[
"retention"
],
out
var
retentionResult
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment