kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Removed inactivity check on spot reporting
rodzic
8edb0c32bc
commit
1485b7c3ef
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -485,7 +485,6 @@ GT.lastTrasmissionTimeSec = timeNowSec();
|
|||
GT.getPostBuffer = getPostBuffer;
|
||||
|
||||
const PSKREPORTER_INTERVAL_IN_SECONDS = 5 * 60;
|
||||
const TRANSMIT_INACTIVTY_SECONDS = 1800;
|
||||
|
||||
initQSOdata();
|
||||
|
||||
|
@ -5465,11 +5464,7 @@ function handleWsjtxStatus(newMessage)
|
|||
|
||||
if (GT.appSettings.gtShareEnable == true && Object.keys(GT.spotCollector).length > 0)
|
||||
{
|
||||
// Don't report spots from an inactive station, wastes our bandwidth.
|
||||
if (GT.timeNow - GT.lastTrasmissionTimeSec < TRANSMIT_INACTIVTY_SECONDS)
|
||||
{
|
||||
gtChatSendSpots(GT.spotCollector, GT.spotDetailsCollector);
|
||||
}
|
||||
gtChatSendSpots(GT.spotCollector, GT.spotDetailsCollector);
|
||||
GT.spotCollector = {};
|
||||
GT.spotDetailsCollector = {};
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue