I'm afraid there is no answer to this and you'll just have to experiment with different sized pores to see what works.
The problem is that you say the liquid is a gel, and gels are typically non-Newtonian fluids. This means their viscosity changes with their flow strain rate and they are frequently also thixotropic i.e. their viscosity changes with time. Many gels will also have a yield stress i.e. below a certain stress they will not flow at all so their viscosity becomes effectively infinite.
This is a problem because the behaviour of the liquid will depend on exactly what strain rates and shear stresses are present at the pores, and in most cases this is impossible to predict as the flow regimes are too complicated to model. You could attempt a finite element calculation, but they typically don't work well for the low strain rate region that probably applies in your experiment.
I used to work for a company (Unilever) that makes shower gel, and they have exactly this problem. You want the gel to squirt out when you squeeze but not to leak when the bottle isn't being squeezed. Although I didn't work in this area, the same problem applies with foods like tomato ketchup and mayonnaise when they are supplied in squeezy bottles. All of these are non-Newtonian fluids with fiendishly complicated low strain rate behaviour and it makes their flow very hard to model. The only way to approach this is to experiment with different sized holes and see what happens.