# Photon hangs once a day

**URL:** <https://community.particle.io/t/photon-hangs-once-a-day/30144>\
**Category:** Troubleshooting\
**Created:** [March 2, 2017, 10:15pm UTC](https://community.particle.io/t/photon-hangs-once-a-day/30144 "2017-03-02T22:15:18Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [July 29, 2018, 8:04pm UTC](https://community.particle.io/t/photon-hangs-once-a-day/30144/17 "2018-07-29T20:04:09Z")

</div>

Under certain circumstances Particle.publish will block for up to 5 minutes, but it does eventually return. That's presumably longer than your watchdog timer.

This post explains a variety of conditions in which Particle.publish will block and how to avoid them:

> [@Particle publish and blocking](https://community.particle.io/t/particle-publish-and-blocking/42022):
>
> It can be a bit confusing knowing whether a call to [Particle.publish](https://docs.particle.io/reference/firmware/electron/#particle-publish-) will be blocking. This note will hopefully clear some thing up. Note: All of the behaviors described here are for system firmware 0.7.0. Earlier versions behave differently. All of the logs were taken on an Electron, though the behaviors are similar (but generally faster) on the Photon/P1. Updates to this document and the full example source can be found [here](https://github.com/rickkas7/particle-publish-blocking). The basics Publish is a way to send some data to the cloud. Ther…

---

_[View the full topic](https://community.particle.io/t/photon-hangs-once-a-day/30144)._
