mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
28 lines
924 B
Go
28 lines
924 B
Go
// Copyright (C) 2021 mieru authors
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
package appctl
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const (
|
|
// RPCTimeout is the timeout to complete a RPC call.
|
|
// We use a very large timeout that works for embedded computer
|
|
// and anti-virus sandbox environment.
|
|
RPCTimeout = time.Second * 10
|
|
)
|