This topic was automatically generated from Slack. You can find the original thread here.
Hey Team! Nice to meet you. I have just upgraded my subscription trying to avoid a timeout error I am receiving but I am still getting the timeout error. Can you identify what is causing the timeout becasue it is timing out before 5 minutes. It is the chatgpt step I am testing currently. I only have one workflow I am working on now.
thanks! Yeah so you get a higher limit on the max timeout (from 300s to 750s), but we limit the timeout to 30 seconds for all workflow so that they don’t run forever and charge you credits. Basically, by keeping timeout to 30 seconds by default, all runs at the default memory setting will just use one credit. Then you can extend it on a workflow-by-workflow basis if needed
Now I need the search post step to pass all new posts in a subreddit to the next step instead of only one post being passed. Do you have any ideas for that?
To retrieve all new posts in a subreddit, you can use the “New hot posts on a subreddit” trigger in Pipedream. Here’s how to set it up: 1. Search for the Reddit app from the trigger menu. 2. Select the “New hot posts on a subreddit” trigger. 3. Connect your Reddit account. 4. Select a Subreddit or pass a string from a previous step. 5. Follow the instructions on the trigger configuration screen. You may need to generate a test event from Reddit to get real data to test your workflow. This trigger will fetch new hot posts from the specified subreddit and pass them to the next steps in your workflow.
is it possible for you to use this Reddit trigger in this case? That trigger keeps track of state, so it knows what posts have already been processed. That will run a workflow on each new post. To do this yourself within a step of a workflow (i.e. if you’re using a different trigger), you’d need to make a custom HTTP request to the Reddit API and then handle state using something like Pipedream’s data store. That way, you can keep track of posts that you’ve already processed, and only fetch new posts on each run
the hot posts trigger is not pulling any events for testing. I cannot post a new reddit post every time I am going to test this trigger. Do you have any ideas?
The test data is dependent on the workflow. We are planning to add default test data for every source so this doesn’t happen. But a new post may need to “become hot” for you to get test data for now