lehmannro / pyhkal2

IRC bot with bling bling
7 stars 2 forks source link

Many database requests after join (even from other users) #8

Open zod opened 14 years ago

zod commented 14 years ago

when other users join the channel there are a lot "getAuths" requests. it should only request the auth from the new user.

freddyb commented 14 years ago

Explanation: Every update in the nickname-db will provoke a hook in our quakenet-mod right now. This hook in quakenet-mod will check for every unlinked-avatar if there exists a stored identity. My first suggestion would be a finer strategy, that issues only a auth-search for the specified nick that is updated to the nickDB, not every unlinked nickname that we have. This will, I suppose, require a register/linkme-command, to catch missing Identity manually.

I plan on looking into this issue tonight.