Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesql
CREATE TABLE 'THROTTLED_CALLS'(
	'THROTTLE_ID' bigint PRIMARY KEY,      --id of the throttle rule
	'NORMALIZED_CALL' varchar(256),        --normalized api URL, numbers such as {id} replaced with #
	'MAX_LOCKS' int NOT NULL,              --maximum number of locks per time block
	'LOCK_TIMEOUT_SECONDS' int NOT NULL,   --duration of each time block, at the beginning of each time block, number of held locks reset
	'THROTTLE_EXPIRATION' bigint ,
	UNIQUE ('NORMALIZED_CALL')
)

...