Prevent infinite looping.
authorJunghyun Kim <jh0822.kim@samsung.com>
Mon, 21 Nov 2016 08:11:33 +0000 (17:11 +0900)
committerSoonKyu Park <sk7.park@samsung.com>
Wed, 22 Feb 2017 08:49:46 +0000 (17:49 +0900)
commit71063e58bf5201b8981cc606d5308b6c676f06be
tree3eecbe855604f7d4a15e9faaf162263e6cc33342
parent9ed31dd85d0d27f1427a6b7116c776325603e312
Prevent infinite looping.

I do not exactly understand why 'scheduling' state in :schedulestate for more than a minute,
but it seems happened in public OBS server.
To prevent this, the while loop is exited if it takes more than a minute.

Change-Id: I7b2007e9b19c9fadec6745eba1436dfebb40c083
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
src/backend/bs_publish