# Updates on April 12, 2024 (Release 1014)

**URL:** <https://community.citystrides.com/t/updates-on-april-12-2024-release-1014/27547>\
**Category:** Announcements\
**Created:** [April 12, 2024, 4:41pm UTC](https://community.citystrides.com/t/updates-on-april-12-2024-release-1014/27547 "2024-04-12T16:41:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)\
**Post date:** [April 12, 2024, 4:41pm UTC](https://community.citystrides.com/t/updates-on-april-12-2024-release-1014/27547/1 "2024-04-12T16:41:45Z")

</div>

- 🛠 Fully reworked the city update process to address heaps of issues
  - Addressed issues include…
    - Stats not being updated
    - Street counts not updating, resulting in incorrect percentage progress values
    - Completely clearing the streets from cities
    - Behind-the-scenes infrastructure issues resulting in failed updates
    - Many notifications sent for the same update
    - Cities getting their timestamp updated but no actions take place

  - Changes include…
    - Over the past ~month I’ve had the city update process only running between 7pm-6am Eastern, but have since returned the city update process to a 24/7 operation (as of late in the day on April 11)
    - The system runs minutely, queueing up 50 cities per batch as long as there aren’t too many existing updates running or too much queue backlog & I’ve reduced the aggressiveness of the process to make it quicker to pause the process (skip enqueuing cities in that minutely run) as that backlog grows
    - Adjusted the overall process to hold onto data that needs to be reprocessed (due to created/deleted/moved nodes etc) and do all of that reprocessing in a single step near the end of the update … This reduces overall load, removes duplicate notifications, and incorrect stat displays/reporting during the update process … This may cause some stats to be inaccurate _during_ the update process, but this appears to be on the scale of minutes in most cases
    - Fixed an issue where the city update process wasn’t correctly removing nodes outside of the city border e.g. if the border was changed since the last update
    - Addressed issue where Overpass can sometimes incorrectly return 0 streets for a city

- 🛠 Not user-visible, but the nodes database table was cleaned up a bit to remove some duplicate fields … just one of those fun things that 2013 me didn’t know, and 2024 me does
- 🛠 Added a limitation to only allow 1 activity deletion per hour in order to address the load that is placed on the system when someone deletes a ton of activities
- 🆕 Added a new entry to the [In The News](https://citystrides.com/news) page
- 🆕 Added/awarded the National Walking Day [badges](https://citystrides.com/badges)
- 🐛 Added a timeout to NodeHunter to address an issue where these could hang, eventually bringing down the whole system
- 🐛 Fixed a bug with the [International badge](https://citystrides.com/badges/17) that blocked it from leveling up
- 🐛 Fixed the badge achievement link in the in-site notification you receive if you happen to be online while receiving the badge
- 🤓 package updates
