Skip to content

Commit

Permalink
fix(triggers): for some reason 5m isn't working but 2,3,4 is. Fix to 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
philwinder committed May 5, 2023
1 parent a60e98d commit ce36200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/appConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ func AddGlobalFlags(cmd *cobra.Command) {
cmd.PersistentFlags().String(LogLevelFlag, "info", "Logging level (debug, info, warning, error)")
cmd.PersistentFlags().Int(PortFlag, 8080, "Port to listen on")
cmd.PersistentFlags().Bool(IPFSSearchEnabledFlag, false, "Enable IPFS-Search trigger")
cmd.PersistentFlags().String(IPFSSearchQueryURLFlag, "https://api.ipfs-search.com/v1/search?q=first-seen%3A%3Enow-5m&page=0", "Query URL for IPFS-Search")
cmd.PersistentFlags().Duration(IPFSSearchPeriodFlag, 5*time.Minute, "Query URL for IPFS-Search")
cmd.PersistentFlags().String(IPFSSearchQueryURLFlag, "https://api.ipfs-search.com/v1/search?q=first-seen%3A%3Enow-2m&page=0", "Query URL for IPFS-Search")
cmd.PersistentFlags().Duration(IPFSSearchPeriodFlag, 2*time.Minute, "Query URL for IPFS-Search")
cmd.PersistentFlags().String(DBURIFlag, "", "Database URI (blank for in-memory)")
cmd.PersistentFlags().Int(NumConcurrentNodesFlag, 10, "Number of concurrent nodes to run at one time")
cmd.PersistentFlags().Int(NumConcurrentWorkflowsFlag, 10, "Number of concurrent workflows to run at one time")
Expand Down

0 comments on commit ce36200

Please sign in to comment.