- Nov 10, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Don't let the client wait too long when it reconnects because of a broken connection.
-
Michal 'vorner' Vaner authored
Don't allocate additional memory in the trie if we are over the limit.
-
Michal 'vorner' Vaner authored
After reconnecting, either ignore the config update (if the config is the same we have) or wipe out the old config first to free the memory.
-
- Nov 09, 2015
-
-
Michal 'vorner' Vaner authored
Don't let the client wait too long when it reconnects because of a broken connection.
-
Michal 'vorner' Vaner authored
Don't allocate additional memory in the trie if we are over the limit.
-
- Nov 06, 2015
-
-
Michal 'vorner' Vaner authored
After reconnecting, either ignore the config update (if the config is the same we have) or wipe out the old config first to free the memory.
-
Jan Čermák authored
-
Michal 'vorner' Vaner authored
Otherwise, the errors might be overwritten or some other bad things may happen.
-
- Nov 05, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
We are using features of API version 2, so don't forget to increase it.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- Nov 04, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Call a plugin's callback whenever a child terminates. Increases the API version, as there's an added callback in the structure.
-
Michal 'vorner' Vaner authored
If we mark them as explicitly rejected or dropped by an IPset from the server-side blacklists, then don't let it in. We don't need to test if the IP is attacker, we already know that.
-
Michal 'vorner' Vaner authored
Use „Fwup“, as this is automagically deduced by some auxiliary scripts. It is easier than hacking all these scripts.
-
Michal 'vorner' Vaner authored
This situation is rare, but actually can happen, because the client may reconnect/restart or join the group before it received the config. Just warn in such case instead of crashing and ignore the request (the server will be OK if it doesn't get the answer, it waits for a timeout anyway).
-
- Nov 02, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
When there's an exception during a looping call, don't abort future calls of the callback. In case of database error or something, we want to continue operating with the next attempt.
-
- Oct 30, 2015
-
-
Michal 'vorner' Vaner authored
-
- Oct 29, 2015
-
-
Michal 'vorner' Vaner authored
They help only a very little, but slow down the cache computation a lot.
-
Michal 'vorner' Vaner authored
Since TRUNCATE has the same problems as REFRESH MATERIALIZED VIEW.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Use a table & view to fill it with data instead of materialized view. It is similar in principle, but the table allows us to specify indices and updates concurrently, instead of locking the whole table.
-
Michal 'vorner' Vaner authored
-
- Oct 27, 2015
-
-
Michal 'vorner' Vaner authored
Wait until the DB starts accepting connections if it doesn't work at the beginning. Blocking.
-
Michal 'vorner' Vaner authored
Detect when a database connection dies and reinitialize it.
-
Michal 'vorner' Vaner authored
As it is supposed to be faster by dropping it, it shall release some resources in the server.
-
Michal 'vorner' Vaner authored
Recover from lost DB connection. Initialize a new one.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Disable the old connection without compression. It is no longer used, so don't sit on the port.
-
- Oct 26, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- Oct 23, 2015
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Use diff_addr_store.py in the master flow plugin, to share the same code with FWUp to handle updating the address sets.
-
Michal 'vorner' Vaner authored
Don't leave old values in the sets when the plugin starts and does a full update. They might be gone by now, so do a full replace of the set.
-
Michal 'vorner' Vaner authored
-
- Oct 22, 2015
-
-
Michal 'vorner' Vaner authored
-