Skip to content

Commit

Permalink
Merge pull request #552 from impactasaurus/551
Browse files Browse the repository at this point in the history
Increasing remote link TTL to 100 days
  • Loading branch information
drimpact authored Dec 11, 2020
2 parents 872d801 + ef18fbd commit 673a8d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/apollo/modules/summon/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {gql, graphql} from 'react-apollo';
import {mutationResultExtractor} from 'helpers/apollo';
import { defaultRemoteMeetingLimit } from 'models/assessment';

export function newMeetingFromSummon <T>(component) {
return graphql<any, T>(gql`
Expand All @@ -25,7 +26,7 @@ export interface ISummonAcceptanceMutation {
export function generateSummon <T>(component) {
return graphql<any, T>(gql`
mutation($outcomeSetID: String!) {
generateSummon: NewMeetingSummon(outcomeSetID:$outcomeSetID, daysToComplete:30)
generateSummon: NewMeetingSummon(outcomeSetID:$outcomeSetID, daysToComplete: ${defaultRemoteMeetingLimit})
}
`, {
props: ({ mutate }) => ({
Expand Down
2 changes: 1 addition & 1 deletion src/app/models/assessment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ export interface IAssessmentConfig {
tags?: string[];
}

export const defaultRemoteMeetingLimit = 30;
export const defaultRemoteMeetingLimit = 100;

0 comments on commit 673a8d0

Please sign in to comment.