Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-haz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-haz
Commits
ee896dc1
Commit
ee896dc1
authored
2 months ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Patches
Plain Diff
test
parent
5e0208a1
No related branches found
No related tags found
1 merge request
!806
AWS Lambda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/gov/usgs/earthquake/nshmp/www/PrimingResource.java
+3
-1
3 additions, 1 deletion
...n/java/gov/usgs/earthquake/nshmp/www/PrimingResource.java
with
3 additions
and
1 deletion
src/main/java/gov/usgs/earthquake/nshmp/www/PrimingResource.java
+
3
−
1
View file @
ee896dc1
package
gov.usgs.earthquake.nshmp.www
;
package
gov.usgs.earthquake.nshmp.www
;
import
java.nio.file.Path
;
import
java.nio.file.Path
;
import
java.util.logging.Logger
;
import
org.crac.Context
;
import
org.crac.Context
;
import
org.crac.Resource
;
import
org.crac.Resource
;
...
@@ -34,7 +35,8 @@ public class PrimingResource implements OrderedResource {
...
@@ -34,7 +35,8 @@ public class PrimingResource implements OrderedResource {
@Override
@Override
public
void
afterRestore
(
Context
<?
extends
Resource
>
context
)
throws
Exception
{
public
void
afterRestore
(
Context
<?
extends
Resource
>
context
)
throws
Exception
{
// Reset executors on restore as Shutdown event does not fire on AWS lambda
// Reset executors on restore as Shutdown event does not fire on AWS lambda
ServletUtil
.
resetExecutors
();
Logger
.
getAnonymousLogger
().
info
(
"TEst no reset"
);
// ServletUtil.resetExecutors();
}
}
private
void
updateParameter
()
throws
SsmException
{
private
void
updateParameter
()
throws
SsmException
{
...
...
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