📄 shadowdb.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1129107114', 'name' => 'admin/params/shadowdb.html.tmpl', }, BLOCK => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $_tt_error; eval { BLOCK: { $output .= "\n"; #line 22 "template\en\default\admin\params\shadowdb.html.tmpl" $stash->set('title', 'Shadow Database'); $stash->set('desc', 'An optional hack to increase database performance'); $output .= "\n"; #line 0 "template\en\default\admin\params\shadowdb.html.tmpl" $stash->set('param_descs', { 'shadowdbhost' => 'The host the shadow database is on.', 'shadowdbport' => 'The port the shadow database is on. Ignored if ' . '<tt>shadowdbhost</tt> is blank. Note: if the host is the local ' . 'machine, then MySQL will ignore this setting, and you must ' . 'specify a socket below.', 'shadowdbsock' => 'The socket used to connect to the shadow database, if the host ' . 'is the local machine. This setting is required because MySQL ' . 'ignores the port specified by the client and connects using ' . 'its compiled-in socket path (on unix machines) when connecting ' . 'from a client to a local server. If you leave this blank, and ' . 'have the database on localhost, then the <tt>shadowdbport</tt> ' . 'will be ignored.', 'shadowdb' => 'If non-empty, then this is the name of another database in ' . ("which " . $stash->get(['terms', 0, 'Bugzilla', 0]) . " will use as a read-only copy of everything. ") . 'This is done so that long slow read-only operations can be used ' . 'against this db, and not lock up things for everyone else. This ' . 'database is on the <tt>shadowdbhost</tt>, and must exist. ' . ($stash->get(['terms', 0, 'Bugzilla', 0]) . " does not update it, if you use this parameter, then ") . 'you need to set up replication for your database.' }); $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -