Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
8d03039d
Commit
8d03039d
authored
4 years ago
by
Sergey Linev
Browse files
Options
Downloads
Patches
Plain Diff
[webgeom] set unlimited number of connections
parent
c0828103
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
graf3d/eve7/src/REveGeomViewer.cxx
+2
-2
2 additions, 2 deletions
graf3d/eve7/src/REveGeomViewer.cxx
with
2 additions
and
2 deletions
graf3d/eve7/src/REveGeomViewer.cxx
+
2
−
2
View file @
8d03039d
...
...
@@ -36,9 +36,9 @@ ROOT::Experimental::REveGeomViewer::REveGeomViewer(TGeoManager *mgr, const std::
fWebWindow
->
SetDefaultPage
(
"file:rootui5sys/eve7/geom.html"
);
// this is call-back, invoked when message received via websocket
fWebWindow
->
SetDataCallBack
([
this
](
unsigned
connid
,
const
std
::
string
&
arg
)
{
this
->
WebWindowCallback
(
connid
,
arg
);
});
fWebWindow
->
SetDataCallBack
([
this
](
unsigned
connid
,
const
std
::
string
&
arg
)
{
WebWindowCallback
(
connid
,
arg
);
});
fWebWindow
->
SetGeometry
(
900
,
700
);
// configure predefined window geometry
fWebWindow
->
SetConnLimit
(
1
);
//
the onl
y connection
is allowed
fWebWindow
->
SetConnLimit
(
0
);
//
allow an
y connection
s numbers at the same time
fWebWindow
->
SetMaxQueueLength
(
30
);
// number of allowed entries in the window queue
fDesc
.
SetPreferredOffline
(
gEnv
->
GetValue
(
"WebGui.PreferredOffline"
,
0
)
!=
0
);
...
...
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