Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
337
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TransFem.org
Sharkey
Commits
f6593744
Commit
f6593744
authored
1 month ago
by
Hazelnoot
Browse files
Options
Downloads
Patches
Plain Diff
fix lint errors in Connection.ts
parent
5942da15
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!927
2025.2.2
,
!886
Merge upstream 2025.2.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/backend/src/server/api/stream/Connection.ts
+4
-4
4 additions, 4 deletions
packages/backend/src/server/api/stream/Connection.ts
with
4 additions
and
4 deletions
packages/backend/src/server/api/stream/Connection.ts
+
4
−
4
View file @
f6593744
...
...
@@ -16,11 +16,11 @@ import type { StreamEventEmitter, GlobalEvents } from '@/core/GlobalEventService
import
{
ChannelFollowingService
}
from
'
@/core/ChannelFollowingService.js
'
;
import
{
isJsonObject
}
from
'
@/misc/json-value.js
'
;
import
type
{
JsonObject
,
JsonValue
}
from
'
@/misc/json-value.js
'
;
import
{
LoggerService
}
from
'
@/core/LoggerService.js
'
;
import
type
Logger
from
'
@/logger.js
'
;
import
type
{
ChannelsService
}
from
'
./ChannelsService.js
'
;
import
type
{
EventEmitter
}
from
'
events
'
;
import
type
Channel
from
'
./channel.js
'
;
import
{
LoggerService
}
from
'
@/core/LoggerService.js
'
;
import
type
Logger
from
'
@/logger.js
'
;
const
MAX_CHANNELS_PER_CONNECTION
=
32
;
...
...
@@ -45,8 +45,8 @@ export default class Connection {
public
userIdsWhoMeMutingRenotes
:
Set
<
string
>
=
new
Set
();
public
userMutedInstances
:
Set
<
string
>
=
new
Set
();
private
fetchIntervalId
:
NodeJS
.
Timeout
|
null
=
null
;
private
activeRateLimitRequests
:
number
=
0
;
private
closingConnection
:
boolean
=
false
;
private
activeRateLimitRequests
=
0
;
private
closingConnection
=
false
;
private
logger
:
Logger
;
constructor
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment