Sha256: 212346a876247f8bbd6bd5f221b77c90a9fa75d3790e44c846610c23978daf79
Contents?: true
Size: 909 Bytes
Versions: 13
Compression:
Stored size: 909 Bytes
Contents
<h1>Database connections</h1> <table> <thead> <tr> <th>Key</th> <th>Free</th> </tr> </thead> <tbody> <% thread_handler = _kas.db_handler.conns if !thread_handler.is_a?(Knj::Threadhandler) print "A threadhandler has not been spawned for this instance." exit end objects = thread_handler.objects.clone objects.each_index do |key| val = objects[key] %> <tr> <td> <%=key%> </td> <td> <%=Knj::Strings.yn_str(val[:free])%> </td> </tr> <% end if objects.empty? %> <tr> <td colspan="2"> Thread handler was spawned but no active connections was spawned? </td> </tr> <% end %> </tbody> </table>
Version data entries
13 entries across 13 versions & 1 rubygems