appleboy / scp-action

GitHub Action that copy files and artifacts via SSH.
https://github.com/marketplace/actions/scp-command-to-transfer-files
MIT License
1.25k stars 135 forks source link

First run of the day takes a very long time #190

Open mmandel-bwc opened 1 week ago

mmandel-bwc commented 1 week ago

I am running your action to copy files onto my server. It's working beautifully!

But I'm noticing a pattern that I'd like to improve: The first successful run each day takes a long time, and subsequent runs happen very quickly.

For example, the first run of the day took 45 seconds: image

And the next one ran for just 6 seconds: image

In both runs, I was uploading just two files.

How can I make the first run happen as fast as subsequent runs?