Ticket URL: http://code.x2go.org/horde4/whups/ticket/?id=32 ------------------------------------------------------------------------------ Ticket | 32 Created By | schulz@math.uni-goettingen.de Summary | db_getservers doesn't parse output correctly Queue | x2goserver Version | 3.0.99 Type | Bug State | Unconfirmed Priority | 2. Medium Operating System | 1 Owners | ------------------------------------------------------------------------------ schulz@math.uni-goettingen.de (2011-02-03 20:52) wrote: the function db_getservers /usr/lib/x2go/x2godbwrapper.pm only parses the first column of the sql-output resulting only in servernames but not the counts of the sessions. This breaks sorting the servers for loadbalancing regarding number of sessions per host. fix is simple: 426c425 < @strings[$i++]=@data[0]; ---
@strings[$i++]=@data[0].' '.@data[1];