Skip to content

Commit

Permalink
fix(security): reduce default to 5s after conversation with @amcgee
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmamo committed Feb 10, 2025
1 parent 990032f commit 85e607b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Route extends BaseIdentifiableObject implements MetadataObject {
public static final String DEFAULT_RESPONSE_TIMEOUT_SECONDS = "10";
public static final String DEFAULT_RESPONSE_TIMEOUT_SECONDS = "5";
public static final String PATH_WILDCARD_SUFFIX = "/**";

@JsonProperty private String description;
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ALTER TABLE route ADD COLUMN IF NOT EXISTS responsetimeoutseconds INTEGER NOT NULL DEFAULT 10 CHECK (responsetimeoutseconds > 0 AND responsetimeoutseconds <= 60);
ALTER TABLE route ADD COLUMN IF NOT EXISTS responsetimeoutseconds INTEGER NOT NULL DEFAULT 5 CHECK (responsetimeoutseconds > 0 AND responsetimeoutseconds <= 60);

0 comments on commit 85e607b

Please sign in to comment.