Commit Graph

2393 Commits

Author SHA1 Message Date
ee70f6603a return not_found if database is not found in notion 2024-07-01 17:42:19 +08:00
67af18a105 fix: returns a stub score (0) in case score api throws an error 2024-07-01 15:27:16 +08:00
70829a6b88 remove initial observation 2024-07-01 12:08:56 +08:00
ad88cbaea8 observe failed digest-score api call lantency in prometheus too 2024-07-01 12:05:48 +08:00
550cef241c observe digest-score api lantency in prometheus 2024-07-01 12:01:42 +08:00
9f7065c5c3 do not update library item score if 0 2024-07-01 11:51:57 +08:00
6bb11ce99b fix: returns a stub score (0) in case score api throws an error 2024-07-01 11:02:42 +08:00
0dada2d708 fix: digest score api timeout = 5 seconds 2024-06-28 16:38:00 +08:00
a7ba02e063 Merge pull request #4117 from omnivore-app/fix/use-read-replica
fix/use read replica for RLS enabled transactions
2024-06-28 15:13:26 +08:00
a06f1a243c fix tests 2024-06-28 12:37:45 +08:00
a3ba8573b7 fix: validate ownership of library item before assigning labels to the item 2024-06-28 11:53:20 +08:00
3ad826392e use digest-score service 2024-06-27 20:55:04 +08:00
822f249fb1 cont 2024-06-27 19:10:50 +08:00
2ed480bb49 use read replica for selecting library items, labels and highlights 2024-06-27 19:02:15 +08:00
fb3d2eada6 use primary and replica instead of master and slave 2024-06-27 18:42:42 +08:00
0830f0b312 allow defining replica mode in the auth transaction 2024-06-27 18:38:43 +08:00
17eb5efa37 resolve conflicts 2024-06-27 17:16:17 +08:00
45986184c4 tidy 2024-06-27 17:12:45 +08:00
1168d12018 use read replica for raw query 2024-06-27 17:10:58 +08:00
84953198fe Merge pull request #4114 from omnivore-app/fix/read-replica
fix/read replica
2024-06-26 17:38:53 +08:00
329dd13ed2 return empty array if no candidates for home feed selection 2024-06-26 17:19:08 +08:00
a6ab96155d by default use info level for loggers 2024-06-26 16:19:13 +08:00
818ad5a0bb log isReplicated for each query 2024-06-26 16:11:52 +08:00
bc6a09798b fix read replica not being used 2024-06-26 16:11:34 +08:00
57e0002cae rename slave to replica in db config 2024-06-26 11:34:45 +08:00
9f16e5fede add "canMove" field to the HomeItem type in graphql api which indicates if the item is in following folder 2024-06-25 16:40:12 +08:00
a1cd611fa7 use read replica for "read" 2024-06-21 14:39:40 +08:00
b0d6876e56 add replication config 2024-06-21 13:31:50 +08:00
14a375db83 use real scoring service 2024-06-21 12:01:34 +08:00
977a1a90e5 Skip scoring RSS items for now 2024-06-21 12:00:53 +08:00
8c84fc58b8 add more subscription features to the score api payload 2024-06-20 17:36:57 +08:00
40182421f7 show archived highlights 2024-06-20 16:31:05 +08:00
2e26a04cd0 remove redundant context type 2024-06-20 15:47:52 +08:00
4ab0497034 Get uid from claims 2024-06-19 18:09:00 +08:00
54f608d23c Use context uid 2024-06-19 17:53:08 +08:00
e2e0774e7e Add user field to the ArticleSavingRequest resolver 2024-06-19 17:44:44 +08:00
6df8c71035 reduce bullmq worker concurrency to 2 2024-06-18 17:28:19 +08:00
2ed63af9a4 stub score client 2024-06-18 12:10:03 +08:00
47c6488834 do not update library item score in database for now 2024-06-18 11:25:44 +08:00
a26e8a3972 Merge pull request #4041 from omnivore-app/feature/folder-policy-api
feat: folder expiration policy api
2024-06-14 14:44:21 +08:00
c0947ddd48 fix batch delete query does not use index 2024-06-14 12:21:20 +08:00
aea1650626 do not show move/archived/deleted item in home feed 2024-06-14 12:15:17 +08:00
be8185d79c Merge pull request #4059 from omnivore-app/fix/rss
fix: fetch old items for existing subscribed feeds
2024-06-14 09:04:37 +08:00
31f04344fc resolve rebase conflicts 2024-06-13 18:41:35 +08:00
88e3d648c8 add a REST API to trigger the expire folder job 2024-06-13 18:36:33 +08:00
6f496b9336 add folder expiration jobs 2024-06-13 18:30:27 +08:00
12fa6ca0b4 add delete folder policy api 2024-06-13 18:29:21 +08:00
6138e078b1 add update folder policy api 2024-06-13 18:29:21 +08:00
2d757a4896 add create folder policy api 2024-06-13 18:29:21 +08:00
7940c3f4ea add list folder policy api 2024-06-13 18:29:21 +08:00