mirror of
https://github.com/php-win-ext/pecl-memcache.git
synced 2026-03-24 00:52:07 +01:00
* Use zend_bool for ini bool settings I think that these might have uninitialized bytes when a data type larger than zend_bool is used for the ini setting, if the module globals are set from malloc? (Not 100% sure if the entire structure isn't set to 0 before being used) Related to #56 * add a redundancy test file add a redundancy test file checking multiple memcached restarts install pcntl in docker container so tests are running add also a Vagrantfile for easier dev env setup * fix the redundancy failover by having dataresult as null initially instead of empty string Co-authored-by: Tyson Andre <tysonandre775@hotmail.com> Co-authored-by: Tomas Srnka <tomassrnka@users.noreply.github.com>
18 lines
339 B
Ruby
18 lines
339 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
VAGRANTFILE_API_VERSION = '2'
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
config.vm.box = 'ubuntu/bionic64'
|
|
|
|
config.vm.provider :virtualbox do |vb|
|
|
vb.name = 'ext-memcache-dev'
|
|
vb.memory = 1024
|
|
vb.cpus = 2
|
|
end
|
|
|
|
config.vm.provision 'docker'
|
|
|
|
end
|