Project

General

Profile

Actions

Feature #1492

closed

Captive Portal Interim Updates

Added by Warren Baker almost 13 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
05/04/2011
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

Currently there is nothing in webGUI to configure how often Captive Portal pruning should be executed. So the default of 60seconds is used.
This has the side affect that if RADIUS Accounting is been used then interim updates are sent every 60seconds.

captiveportal.inc does cater for this by using $config['captiveportal']['croninterval'] as the variable to startup the minicron, so all that needs to happen is services_captiveportal.php needs a field added for these updates.

What would a reasonable time frame be? Minimum 60 seconds, maximum 3600 seconds? Not sure if the latter is used how this would impact on Captive Portal pruning?
If it does then possibly interim updates needs to be split out from the pruning process?

Actions

Also available in: Atom PDF