rlm_perl does not honor start_servers?
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Fri Apr 1 17:33:00 CEST 2016
>>> My script is only 470 lines long, but it uses DBI module (and some minor others). Maybe it's quite complex and causing the slowdown.
>> The DBI module is huge.
>>
>> If your Perl script is 470 lines, you can probably do all of that work in unlang.
> Actually, i'm trying to migrate from unlang to Perl.
> Because of unlang's poor syntax (such as returning only one value from {%sql .. })
map sql "SELECT ALL, THE, COLUMNS FROM STFU WHERE 1" {
Reply-Message += 'ALL',
Reply-Message += 'THE',
Reply-Message += 'COLUMNS'
}
-Arran
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160401/449de736/attachment-0001.sig>
More information about the Freeradius-Users
mailing list