Skip to content
Discussion options

You must be logged in to vote

@Chri6s Thanks for the ideas! Restarting every 10 minutes will not work so super well for me because I have some pipelines that need a bit more time than that.
Though, I experimented with the cron feature and have now a cron job that just echos some message every 7 minutes-ish. That seems to do the trick, the agent continues to respond after 10 minutes and the http 500 code doesn't show.
More complete example:

  1. In /repos//settings/crons add a job with schedule */7 * * * *
  2. For that repo add a woodpecker ci file with something like:
steps:
  - name: keepalive
    image: debian
    commands:
      - echo "Keep connection alive"
    when:
      event: cron

I used a dedicated repo for that t…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@Chri6s
Comment options

@justjulian
Comment options

@Chri6s
Comment options

Comment options

You must be logged in to vote
3 replies
@Chri6s
Comment options

@justjulian
Comment options

@Chri6s
Comment options

Answer selected by Chri6s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants