From eb6aedf92c0fe467fd4724623262907ad78573bb Mon Sep 17 00:00:00 2001
From: David Baker <dbkr@matrix.org>
Date: Fri, 21 Nov 2014 12:21:00 +0000
Subject: More work on pushers. Attempt to do HTTP pokes. Not sure if the
 actual HTTP pokes work or not yet but the retry semantics are pretty good.

---
 synapse/storage/schema/pusher.sql | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'synapse/storage/schema/pusher.sql')

diff --git a/synapse/storage/schema/pusher.sql b/synapse/storage/schema/pusher.sql
index 7f6852485d..e83f7e7436 100644
--- a/synapse/storage/schema/pusher.sql
+++ b/synapse/storage/schema/pusher.sql
@@ -23,6 +23,8 @@ CREATE TABLE IF NOT EXISTS pushers (
   pushkey blob NOT NULL,
   data text,
   last_token TEXT,
+  last_success BIGINT,
+  failing_since BIGINT,
   FOREIGN KEY(user_name) REFERENCES users(name),
   UNIQUE (user_name, pushkey)
 );
-- 
cgit 1.4.1

