Commit graph

46 commits

Author SHA1 Message Date
Kavin
383c017f5c
Optimize pubsub subscription query. 2022-09-17 20:29:26 +05:30
Kavin
ab0540392f
Let NewPipeExtractor use same executor. 2022-09-11 01:35:10 +05:30
Kavin
13710d24d8
Update NPE fork and parallelize StreamExtraction requests. 2022-09-07 12:59:11 +05:30
Kavin
81fa92361d
Fix and optimize pubsub timer query. 2022-08-05 00:03:47 +05:30
Kavin
9a45e33fdb
Fix bugs and implement more of unauthenticated subs. 2022-07-31 23:17:42 +05:30
Kavin
c0f51c6fb6
Allow disabling server on a node. 2022-07-19 14:15:42 +05:30
Kavin
c85cbf6034
Use a timer task instead for deleting playlist videos not in any playlists. (#311) 2022-07-08 00:06:39 +01:00
Kavin
d29d9c415d
Attempt to optimize session handling. (#307) 2022-07-05 14:18:33 +01:00
Kavin
e6c0f7c0f4
Cleanup transaction code. (#306) 2022-07-04 18:44:16 +01:00
Kavin
606cbf5ca6
Use Criteria API for deleting old videos. (#302) 2022-07-04 07:09:20 +01:00
Kavin
17b9a974de
Attempt to use stateless sessions in read-only operations. (#301) 2022-07-04 06:42:01 +01:00
Kavin
0158744506
Hold pubsub session for lesser time. (#298) 2022-07-02 18:13:58 +01:00
Kavin
3a009407ad
Run server on new thread. (#297) 2022-07-02 13:32:20 +01:00
Kavin
b7a91036f9
Cleanup Transactions. (#275)
- use hibernate 6 methods
- Don't use session.getTransaction()
- regex to validate channelId for saving channels
2022-06-26 10:03:02 +01:00
Kavin
160e6933d3
Allow disabling pubsub timer to lower cpu usage. (#289) 2022-06-25 10:19:06 +01:00
Kavin
c23805288f
Update to Hibernate 6. 2022-06-17 17:05:59 +01:00
Kavin
87917f0da2
Use parallel streams for some operations. (#264) 2022-05-12 11:54:28 +01:00
Kavin
11b53e8c00
Update NewPipeExtractor. (#249) 2022-04-24 18:01:00 +01:00
Kavin
9c1c165fb2
Significantly speed up import process. (#242) 2022-04-11 00:02:25 +01:00
Kavin
43d6dc93c0
Use try with for sessions (#222) 2022-03-16 03:21:24 +00:00
Kavin
6e88cf3050
Log and clear throttling cache every hour. (#220) 2022-03-14 14:54:47 +00:00
Kavin
a03ae434be
Replace native query with criteria api for PubSub subscriptions (#191) 2022-02-15 11:55:08 +00:00
Kavin
8880a884c3
Add feed retention configuration option. (#174) 2022-01-31 04:17:16 +00:00
FireMaskterK
6ec517e0ef
Add index and improve pubsub db query. 2021-11-18 23:32:19 +00:00
FireMasterK
15f7eef82c
Cleanup PubSub query. 2021-08-21 01:52:39 +05:30
FireMasterK
cf9d1cd8cf
Print stacktraces on any errors. 2021-07-21 18:07:43 +05:30
FireMasterK
e03f2661b4
Add null check for pubsub. 2021-07-21 02:57:28 +05:30
FireMasterK
dfca88952a
Use Hibernate as a database (#32)
* Basic hibernate structure.

* Commit stash.

* Improve a lot of things.

* Implement Feed, PubSub, query optimizations.

* Update video views on channel visits.

* Allow mass importing subscriptions.

* Allow configuring database in config.properties.

* Major multi-threading and pubsub improvements.

* PubSub query improvements and fix for postgres.

* Revert docker-compose change.

* Disable showing sql statements.
2021-07-17 04:10:46 +05:30
FireMasterK
efc28a8994
ActiveJ migration. (#30)
* Initial ActiveJ migration.

* Add multi-threading.
2021-03-29 19:29:10 +05:30
FireMasterK
9275e01c5a
Fix compile error. 2021-02-24 15:56:26 +05:30
FireMasterK
dd2ee203bb
Commit changes. 2021-02-24 15:22:29 +05:30
935ec90710
use server.onDispose().block() instead of Thread.sleep(Long.MAX_VALUE) (#19) 2021-02-10 01:00:34 +05:30
7e5256134b
Change pubsub mimetype 2021-02-05 20:33:21 +01:00
347bacdd85 add response mime type 2021-02-05 19:28:02 +01:00
554d39807b add status code to server response 2021-02-05 18:54:46 +01:00
e8c7b44e8e Use HttpHeaderNames for HTTP headers 2021-02-05 18:53:14 +01:00
FireMasterK
ec247f5bce
perf: add server timings 2021-01-30 20:39:01 +05:30
FireMasterK
bf42b197be
fix missing imports. 2021-01-12 13:46:49 +05:30
FireMasterK
6b22474093
performance: read and write data as byte arrays. 2021-01-12 13:45:09 +05:30
FireMasterK
208deffbd1
add playlists and small changes. 2021-01-04 11:17:28 +05:30
FireMasterK
4986fe864c
Next page in search results. 2020-12-14 12:41:42 +05:30
FireMasterK
709478605a
Add search. 2020-12-09 19:00:42 +05:30
FireMasterK
9527ad4133
Channel Pages and search suggestions. 2020-11-25 10:56:25 +05:30
FireMasterK
669f1a7308
More cleanup. 2020-11-15 17:27:04 +05:30
FireMasterK
9e89d13518
Cleanup and fix Unicode characters. 2020-11-15 14:17:50 +05:30
FireMasterK
41395b47d0
Initial commit. 2020-11-13 02:49:45 +05:30