a better queue size

Tento commit je obsažen v:
mikespook 2012-12-27 13:41:33 +08:00
rodič 0df61bcd82
revize b1eecf8792
2 změnil soubory, kde provedl 3 přidání a 8 odebrání

Zobrazit soubor

@ -3,11 +3,6 @@ Gearman-Go
This package is a [Gearman](http://gearman.org/) API for [Golang](http://golang.org).
It was implemented a native protocol for both worker and client API.
Copyright 2012 Xing Xing <mikespook@gmail.com>
All rights reserved.
Use of this source code is governed by a MIT license that can be found
in the LICENSE file.
Install
=======
@ -58,7 +53,7 @@ Usage
Authors
=======
Xing Xing <mikespook@gmail.com> [Blog](http://mikespook.com) [@Twitter](http://twitter.com/mikespook)
* Xing Xing <mikespook@gmail.com> [Blog](http://mikespook.com) [@Twitter](http://twitter.com/mikespook)
Open Source - MIT Software License
==================================

Zobrazit soubor

@ -13,9 +13,9 @@ import (
const (
NETWORK = "tcp"
// queue size
QUEUE_SIZE = 512
QUEUE_SIZE = 8
// read buffer size
BUFFER_SIZE = 1024
BUFFER_SIZE = 2048
// \x00REQ
REQ = 5391697