Skip to content

Commit 48c94da

Browse files
committed
realtime only at more zoomed in to save mqtt servers
1 parent 553a867 commit 48c94da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/sondehub.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ function throttle_events(event) {
681681

682682
function sub_to_nearby_sondes(){
683683
let bounds = map.getBounds().pad(1); // expand by one viewport
684-
let zoomed_out = map.getZoom() <= 6;
684+
let zoomed_out = map.getZoom() <= 8;
685685
const sub_logging = false;
686686
if (zoomed_out){
687687
// If we are fairly zooomed out - only give the slow feed

0 commit comments

Comments
 (0)