Count only active lives for account limit
This commit is contained in:
parent
884d2c39ae
commit
fb4b3f91dc
|
@ -1195,7 +1195,10 @@ export class VideoModel extends Model<VideoModel> {
|
|||
const options = {
|
||||
where: {
|
||||
remote: false,
|
||||
isLive: true
|
||||
isLive: true,
|
||||
state: {
|
||||
[Op.ne]: VideoState.LIVE_ENDED
|
||||
}
|
||||
},
|
||||
include: [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue