Skip to content

Commit

Permalink
Merge pull request #431 from pennam/test-size-deltas
Browse files Browse the repository at this point in the history
Update report-size-deltas workflow to wake him up
  • Loading branch information
pennam authored Feb 22, 2024
2 parents 665e3d9 + 75804b4 commit 9f7445b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/report-size-deltas.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
name: Report Size Deltas

# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
on:
push:
paths:
- ".github/workflows/report-size-deltas.yml"
schedule:
- cron: '*/5 * * * *'
# Run at the minimum interval allowed by GitHub Actions.
# Note: GitHub Actions periodically has outages which result in workflow failures.
# In this event, the workflows will start passing again once the service recovers.
- cron: "*/5 * * * *"
workflow_dispatch:
repository_dispatch:

jobs:
report:
runs-on: ubuntu-latest

steps:
- name: Comment size deltas reports to PRs
uses: arduino/report-size-deltas@v1
Expand Down
2 changes: 1 addition & 1 deletion src/ArduinoIoTCloudTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_Connected()
/* Retransmit data in case there was a lost transaction due
* to phy layer or MQTT connectivity loss.
*/
if(_mqtt_data_request_retransmit && (_mqtt_data_len > 0)) {
if (_mqtt_data_request_retransmit && (_mqtt_data_len > 0)) {
write(_dataTopicOut, _mqtt_data_buf, _mqtt_data_len);
_mqtt_data_request_retransmit = false;
}
Expand Down

0 comments on commit 9f7445b

Please sign in to comment.