Skip to content

Commit

Permalink
Release 0.99.5
Browse files Browse the repository at this point in the history
* Fix broken DB updates for importer/refresh API call. (comstud)
* Return Fletchling version in /api/config API call. (comstud)

NOTE: It is possible that your DB is not in the correct
state because of the bug above. It is highly recommended that
you issue this API call after restarting with this new version:

`curl http://localhost:9042/api/config/reload?spawnpoints=all`

Change hostname and port if needed.
  • Loading branch information
comstud committed Mar 14, 2024
1 parent 5bde4d1 commit 5d4e901
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion filters/db_refresher.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ func (refresher *DBRefresher) refreshNest(ctx context.Context, config RefreshNes
numSpawnpoints, err := refresher.golbatDBStore.GetSpawnpointsCount(ctx, jsonGeometry)
if err == nil {
if spawnpoints.Valid {
refresher.logger.Infof("DB-REFRESHER[%s]: spawnpoint count changed from %d to %d", fullName, spawnpoints.Int64, numSpawnpoints)
if spawnpoints.Int64 != numSpawnpoints {
refresher.logger.Infof("DB-REFRESHER[%s]: spawnpoint count changed from %d to %d", fullName, spawnpoints.Int64, numSpawnpoints)
}
} else {
refresher.logger.Infof("DB-REFRESHER[%s]: spawnpoint count initial value is %d", fullName, numSpawnpoints)
}
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package version

const (
APP_VERSION = "0.99.4"
APP_VERSION = "0.99.5"
)

0 comments on commit 5d4e901

Please sign in to comment.