也许我说错了。我有这样的问题:对于一些apt-get重试包,可以无休止地下载(但不会卡住),如下所示:
Need to get 19.3 MB/20.0 MB of archives.
After this operation, 28.7 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://mirrors.cat.pdx.edu/ubuntu/ quantal-updates/main linux-firmware all 1.95.1 [19.3 MB]
Get:2 ht
我正在编写一个rails代码,在这里我试图与服务器对话并传递请求。我必须从服务器获得日志(通过向服务器发送http请求),但我不想增加处理请求所需的时间,是否有任何方法可以获得这些信息,使其不会增加我的请求处理时间?
# connect to the server
# make a request to the server
# after the request is completed, get info
# server shuts down
# output the results
如何使信息获取异步,这样就不会增加输出结果所需的时间?
我怎样才能