Why not setup a dummy db with triggers on connect/disconnect? Whether they update a count field or log the event - it should be fast enough for the purpose.
2015-08-21 14:05 GMT+03:00 Jiří Činčura <j...@cincura.net>: > Hi *, > > Is there a way to somewhat get a number of connections to given database > that's always (or in some predefined interval, known in advance) up to > date? Selecting from mon$attachments gets sometimes stale data even after > few seconds. Maybe there's some fixed interval I should wait - basically I > found that after 10+ seconds it's OK, but that's too long. I'm checking how > the pooling works in .NET provider tests and this number is crucial to know > there's nothing dangling. > > JC > > -- > Mgr. Jiří Činčura > Independent IT Specialist > > > ------------------------------------------------------------------------------ > Firebird-Devel mailing list, web interface at > https://lists.sourceforge.net/lists/listinfo/firebird-devel >
------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel