Timeout may be necessary if the delition of an item cannot be garanted.
Call example:
EVAL f572d396fae9206628714fb2ce00f72e94f2258f 2 wip_key evict_key itemVal <now + timeout> wip_limit evictPeriodSec now
Timeout may be necessary if the delition of an item cannot be garanted.
Call example:
EVAL f572d396fae9206628714fb2ce00f72e94f2258f 2 wip_key evict_key itemVal <now + timeout> wip_limit evictPeriodSec now
This tool can read current or change default HCI_LE_AUTOCONN_TIMEOUT value for Bluetooth adapter on Linux. The default value is defined for the kernel 5.15 at include/net/bluetooth/hci.h:
#define HCI_LE_AUTOCONN_TIMEOUT msecs_to_jiffies(4000) /* 4 seconds */and it can be too low if the advertising interval for a device is high (for power saving).
You can also change the value in /etc/bluetooth/main.conf, line LEAutoconnecttimeout. The value in ms and will be applied at boot or when bluetooth service is restarted.
The tool changes timeout to hardcoded value 16000ms. You can change value NEW_LE_AUTOCONN_TIMEOUT in the lower source file to required value .
| "Hello world" web server benchmarks | |
| HW: Intel Core i7-4700HQ, 8Gb DDR3 | |
| Ubuntu 18.04.2 LTS WSL, Python 3.6.7 | |
| w= - workers | |
| lat= - avg. latency | |
| SERVER ~RPS | |
| ------------------------------------------- |
| struct sockaddr { | |
| unsigned short sa_family; // address family, AF_xxx | |
| char sa_data[14]; // 14 bytes of protocol address | |
| }; | |
| /* IPv4 AF_INET */ | |
| struct sockaddr_in { | |
| short sin_family; // e.g. AF_INET, AF_INET6 | |
| unsigned short sin_port; // e.g. htons(3490) |
| class DictWithAttributeAccess(dict): | |
| def __getattr__(self, key): | |
| return self[key] | |
| def __setattr__(self, key, value): | |
| self[key] = value | |
| class AttrDict: |