Skip to content

Commit b8465d0

Browse files
authored
Set debugging and timeout settings for XRootD in rootlogon.C (#769)
These lines come directly form /afs/rhic.bnl.gov/star/ROOT/5.34.38/root/etc/rootlogon.C
1 parent da7ee0d commit b8465d0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

StRoot/macros/rootlogon.C

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
{
2+
// ROOT and XROOTD
3+
// some rootd default dummy stuff
4+
TAuthenticate::SetGlobalUser("starlib");
5+
TAuthenticate::SetGlobalPasswd("ROOT4STAR");
6+
7+
// This will help tracing failure on XrdOpen() if any
8+
gEnv->SetValue("XNet.DebugTimestamp","1");
9+
gEnv->SetValue("XNet.ReconnectTimeout","15");
10+
gEnv->SetValue("XNet.RequestTimeout","90");
11+
212
// set FloatPointException trap
313
bool star_rootlogon_fpe = TString(gSystem->Getenv("STAR_VERSION")) == ".DEV";
414
const char* star_rootlogon_fpe_env = gSystem->Getenv("STARFPE");

0 commit comments

Comments
 (0)