mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-10 07:34:07 -08:00
a54e58b4d6
This should fully implement #1891 by adding an extra field to the edit monitor page and an extra column to the database. The user can now set the size of the packet to send, it defaults to 56. A maximum limit of 65500 was chosen to ensure that the total size of the packet does not exceed the IPv4 maximum packet size and to comply with the limit imposed by Windows. Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
6 lines
194 B
SQL
6 lines
194 B
SQL
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
|
|
BEGIN TRANSACTION;
|
|
ALTER TABLE monitor
|
|
ADD packet_size INTEGER DEFAULT 56 NOT NULL;
|
|
COMMIT;
|